diff options
author | Fabian Piribauer | 2018-11-04 12:54:51 +0100 |
---|---|---|
committer | Fabian Piribauer | 2018-11-04 12:54:51 +0100 |
commit | 2c1f0da58eabb734e1ef1a008d50be57ead0859f (patch) | |
tree | 2a2d5cd0146dc1b242e1befa19622a674de59ec6 | |
parent | 92832d7fd03293a9737ddb0c3e2fbdeb1e2a8d81 (diff) | |
download | aur-2c1f0da58eabb734e1ef1a008d50be57ead0859f.tar.gz |
remove install script the same way [community] does
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 10 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = piper-git pkgdesc = Piper is a GUI interface to ratbagd, the system daemon for configurable mice pkgver = 0.2.902.r16.g5a44f97 - pkgrel = 1 + pkgrel = 2 url = https://github.com/libratbag/piper arch = i686 arch = x86_64 @@ -4,7 +4,7 @@ pkgname=piper-git pkgver=0.2.902.r16.g5a44f97 -pkgrel=1 +pkgrel=2 pkgdesc='Piper is a GUI interface to ratbagd, the system daemon for configurable mice' arch=('i686' 'x86_64') url='https://github.com/libratbag/piper' @@ -17,6 +17,14 @@ sha256sums=('SKIP') conflicts=('piper') provides=('piper') +prepare() { + cd "${pkgname}" + + # Remove install script + # This is handled by pacman hooks + sed -i "/meson.add_install_script('meson_install.sh')/d" meson.build +} + pkgver() { cd "${pkgname}" git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' |