Username: Password: Remember me
# Contributions from Arch:
# Maintainer: Filipe Laíns (FFY00) <lains@archlinux.org>
 
pkgname=piper
pkgver=0.3
pkgrel=1
pkgdesc='GTK application to configure gaming mice'
arch=('any')
url='https://github.com/libratbag/piper'
license=('GPL')
depends=('python3' 'python3-gobject' 'libratbag>=0.9.900' 'python3-evdev' 'python3-lxml' 'python3-cairo')
makedepends=('meson')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha256sums=('c7210c058de6a6803db462754386785cf5b9ab36dd9e69de6b7a3ca583451401')
 
prepare() {
  cd $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 $pkgname-$pkgver/build
  cd $pkgname-$pkgver/build
 
  chakra-meson ..
 
  ninja
}
 
package() {
  cd $pkgname-$pkgver/build
 
  DESTDIR="$pkgdir" ninja install
}