[arch-commits] Commit in (piper piper/repos piper/trunk piper/trunk/PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Thu Aug 16 15:59:29 UTC 2018
Date: Thursday, August 16, 2018 @ 15:59:29
Author: ffy00
Revision: 371985
import from aur
Added:
piper/
piper/repos/
piper/trunk/
piper/trunk/PKGBUILD
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Added: piper/trunk/PKGBUILD
===================================================================
--- piper/trunk/PKGBUILD (rev 0)
+++ piper/trunk/PKGBUILD 2018-08-16 15:59:29 UTC (rev 371985)
@@ -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
+}
Property changes on: piper/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list