[arch-commits] Commit in contractor/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Fri Aug 31 07:25:53 UTC 2018
Date: Friday, August 31, 2018 @ 07:25:53
Author: alucryd
Revision: 375805
upgpkg: contractor 0.3.4-1
Modified:
contractor/trunk/PKGBUILD
----------+
PKGBUILD | 45 +++++++++++----------------------------------
1 file changed, 11 insertions(+), 34 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-31 07:25:09 UTC (rev 375804)
+++ PKGBUILD 2018-08-31 07:25:53 UTC (rev 375805)
@@ -2,48 +2,25 @@
# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
pkgname=contractor
-pkgver=0.3.2
+pkgver=0.3.4
pkgrel=1
-pkgdesc='A desktop-wide extension service for Pantheon'
+pkgdesc=' A desktop-wide extension service'
arch=('x86_64')
-url='https://launchpad.net/contractor'
+url='https://github.com/elementary/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/loki/${pkgver}/+download/contractor-${pkgver}.tar.xz"
- 'bzr+lp:~elementary-os/contractor/elementary-contracts')
-sha256sums=('d9113d7da9a3d56fa177e4849255b7c0dbe24ae0d483ca8fa2c233496a38b102'
- 'SKIP')
+groups=('pantheon')
+depends=('glib2' 'libgee')
+makedepends=('git' 'meson' 'vala')
+source=("git+https://github.com/elementary/contractor.git#tag=${pkgver}")
+sha256sums=('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
+ arch-meson contractor build
+ ninja -C build
}
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
+ DESTDIR="${pkgdir}" ninja -C build install
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list