summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8b9d90df72206a0bfc353c79da716072b08f333c (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
# Maintainer: Holger Heinz
pkgname=stu-git
pkgver=2.5.80
pkgrel=1
pkgdesc="A build automation tool with support for parametrized rules and dynamic dependencies"
arch=('i686' 'x86_64')
url='https://github.com/kunegis/stu'
license=('GPL3')
depends=('glibc' 'gcc-libs')
makedepends=('git' 'gcc' 'make')
provides=('stu')
conflicts=()
source=("git+https://github.com/kunegis/stu")
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir/${pkgname%-git}" && head -n1 VERSION
}

build() {
  cd "$srcdir/${pkgname%-git}" && ./configure --prefix=/usr && make
}

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