[arch-commits] Commit in piper/repos (community-any community-any/PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Thu Aug 16 15:59:52 UTC 2018
Date: Thursday, August 16, 2018 @ 15:59:52
Author: ffy00
Revision: 371986
archrelease: copy trunk to community-any
Added:
piper/repos/community-any/
piper/repos/community-any/PKGBUILD
(from rev 371985, piper/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: piper/repos/community-any/PKGBUILD (from rev 371985, piper/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2018-08-16 15:59:52 UTC (rev 371986)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=piper
+pkgver=0.2.901
+pkgrel=1
+pkgdesc='GTK application to configure gaming mice'
+arch=('any')
+url='https://github.com/libratbag/piper'
+license=('GPL')
+depends=('python' 'python-gobject' 'libratbag>=0.9.900' 'python-evdev' 'python-lxml' 'python-cairo')
+makedepends=('meson')
+source=("https://github.com/libratbag/${pkgname}/archive/${pkgver}.tar.gz")
+sha256sums=('3d1dacd0a4194a1afa4beebf76ad5d85d5a6407c613fba1fcd2274b217dde01a')
+
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ # Remove install script
+ # This is handled by pacman hooks
+ sed -i "/meson.add_install_script('meson_install.sh')/d" meson.build
+}
+
+build() {
+ mkdir "$srcdir"/$pkgname-$pkgver/build
+ cd "$srcdir"/$pkgname-$pkgver/build
+
+ meson --prefix=/usr ..
+
+ ninja
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver/build
+
+ DESTDIR="$pkgdir" ninja install
+}
More information about the arch-commits
mailing list