diff options
author | Dimitris Kiziridis | 2020-07-08 04:51:41 +0300 |
---|---|---|
committer | Dimitris Kiziridis | 2020-07-08 04:51:41 +0300 |
commit | b418b3be50617fe81356f3b4157e7c9655b83baa (patch) | |
tree | 1a937ef5e25f3f15fe1bf0223e34e8eabcb98f6e | |
download | aur-btnx-config-git.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b527c3d916d2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = btnx-config-git + pkgdesc = A configuration tool for btnx (Button Extension) + pkgver = r30.0b30428 + pkgrel = 1 + url = https://github.com/cdobrich/btnx-config + arch = x86_64 + license = GPL2 + makedepends = git + depends = libglade + provides = btnx-config + source = btnx-config::git+https://github.com/cdobrich/btnx-config + sha256sums = SKIP + +pkgname = btnx-config-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3649ac55bdfa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com> + +pkgname=btnx-config-git +_pkgname=btnx-config +pkgver=r30.0b30428 +pkgrel=1 +pkgdesc="A configuration tool for btnx (Button Extension)" +arch=('x86_64') +url='https://github.com/cdobrich/btnx-config' +license=('GPL2') +provides=('btnx-config') +depends=('libglade') +makedepends=('git') +source=("btnx-config::git+${url}") +sha256sums=('SKIP') + +pkgver() { + cd btnx-config + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd btnx-config + ./configure --prefix=/usr + make +} + +package() { + cd btnx-config + make DESTDIR="${pkgdir}" install +}
\ No newline at end of file |