summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ad1e1bb8690c6fd4f00b73e247ecbd1600c98edf (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
32
33
34
pkgname=acr-git
pkgver=20230709.224.497e353
pkgrel=1
pkgdesc="A fully compatible autoconf replacement" 
arch=('any')
url="http://nopcode.org"
license=('GPL')
depends=('sh')
makedepends=('git')
provides=('acr')
conflicts=('acr' 'acr-hg')

source=("$pkgname"::"git+https://github.com/radare/acr.git")
md5sums=('SKIP')

pkgver () {
	_date=`date +"%Y%m%d"`
	cd "${srcdir}/${pkgname}"
	echo "$_date.$(git rev-list --count master).$(git rev-parse --short master)"
}

build() {
  cd "${srcdir}/${pkgname}"

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}"
  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: