[arch-commits] Commit in contractor (5 files)
Maxime Gauduin
alucryd at archlinux.org
Sat Apr 11 20:14:06 UTC 2015
Date: Saturday, April 11, 2015 @ 22:14:06
Author: alucryd
Revision: 131180
archrelease: copy trunk to community-i686, community-x86_64
Added:
contractor/repos/
contractor/repos/community-i686/
contractor/repos/community-i686/PKGBUILD
(from rev 131179, contractor/trunk/PKGBUILD)
contractor/repos/community-x86_64/
contractor/repos/community-x86_64/PKGBUILD
(from rev 131179, contractor/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 49 ++++++++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 49 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 98 insertions(+)
Copied: contractor/repos/community-i686/PKGBUILD (from rev 131179, contractor/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD (rev 0)
+++ repos/community-i686/PKGBUILD 2015-04-11 20:14:06 UTC (rev 131180)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=contractor
+pkgver=0.3.1
+pkgrel=1
+pkgdesc='A desktop-wide extension service for Pantheon'
+arch=('i686' 'x86_64')
+url='https://launchpad.net/contractor'
+license=('GPL3')
+depends=('libgee')
+makedepends=('bzr' 'cmake' 'vala')
+optdepends=('brasero: Burn Disc context menu entries'
+ 'file-roller: Archive context menu entries'
+ 'gnome-bluetooth: Bluetooth context-menu entry'
+ 'inkscape: Inkscape context menu entry')
+source=("https://launchpad.net/contractor/${pkgver%.*}/${pkgver}/+download/contractor-${pkgver}.tar.gz"
+ 'bzr+lp:~elementary-os/contractor/elementary-contracts')
+sha256sums=('96806a7a1c206df72118320bbb6d337f003684fd085ebe68cd37c44553f45ef9'
+ 'SKIP')
+
+build() {
+ cd contractor-${pkgver}
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build && cd build
+
+ cmake .. \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr'
+ make
+}
+
+package() {
+ cd contractor-${pkgver}/build
+
+ make DESTDIR="${pkgdir}" install
+
+ install -dm 755 "${pkgdir}"/usr/share/contractor
+ for _app in brasero file-roller gnome-bluetooth gnome-wallpaper inkscape; do
+ install -m 644 "${srcdir}"/elementary-contracts/${_app}/*.contract "${pkgdir}"/usr/share/contractor/
+ done
+ install -dm 755 "${pkgdir}"/usr/lib/svg-contracts
+ install -m 755 "${srcdir}"/elementary-contracts/inkscape/inkscape-export.sh "${pkgdir}"/usr/lib/svg-contracts
+}
+
+# vim: ts=2 sw=2 et:
Copied: contractor/repos/community-x86_64/PKGBUILD (from rev 131179, contractor/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2015-04-11 20:14:06 UTC (rev 131180)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=contractor
+pkgver=0.3.1
+pkgrel=1
+pkgdesc='A desktop-wide extension service for Pantheon'
+arch=('i686' 'x86_64')
+url='https://launchpad.net/contractor'
+license=('GPL3')
+depends=('libgee')
+makedepends=('bzr' 'cmake' 'vala')
+optdepends=('brasero: Burn Disc context menu entries'
+ 'file-roller: Archive context menu entries'
+ 'gnome-bluetooth: Bluetooth context-menu entry'
+ 'inkscape: Inkscape context menu entry')
+source=("https://launchpad.net/contractor/${pkgver%.*}/${pkgver}/+download/contractor-${pkgver}.tar.gz"
+ 'bzr+lp:~elementary-os/contractor/elementary-contracts')
+sha256sums=('96806a7a1c206df72118320bbb6d337f003684fd085ebe68cd37c44553f45ef9'
+ 'SKIP')
+
+build() {
+ cd contractor-${pkgver}
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build && cd build
+
+ cmake .. \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr'
+ make
+}
+
+package() {
+ cd contractor-${pkgver}/build
+
+ make DESTDIR="${pkgdir}" install
+
+ install -dm 755 "${pkgdir}"/usr/share/contractor
+ for _app in brasero file-roller gnome-bluetooth gnome-wallpaper inkscape; do
+ install -m 644 "${srcdir}"/elementary-contracts/${_app}/*.contract "${pkgdir}"/usr/share/contractor/
+ done
+ install -dm 755 "${pkgdir}"/usr/lib/svg-contracts
+ install -m 755 "${srcdir}"/elementary-contracts/inkscape/inkscape-export.sh "${pkgdir}"/usr/lib/svg-contracts
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list