[arch-commits] Commit in (contractor contractor/trunk contractor/trunk/PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sat Apr 11 20:13:49 UTC 2015
Date: Saturday, April 11, 2015 @ 22:13:49
Author: alucryd
Revision: 131179
Add contractor
Added:
contractor/
contractor/trunk/
contractor/trunk/PKGBUILD
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Added: contractor/trunk/PKGBUILD
===================================================================
--- contractor/trunk/PKGBUILD (rev 0)
+++ contractor/trunk/PKGBUILD 2015-04-11 20:13:49 UTC (rev 131179)
@@ -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:
Property changes on: contractor/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list