summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3649ac55bdfaa3a392d417dbaefebc46b6352112 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
}