summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 81b71c3e6d00be82c44b4e275c476cf427ea7e42 (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
35
36
37
38
39
40
41
42
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>

pkgname=automake-git
pkgver=1.15.r180.gcc7231cc3
pkgrel=1
pkgdesc="A tool for automatically generating Makefiles"
arch=('i686' 'x86_64')
url="https://www.gnu.org/software/automake/"
license=('GPL2')
depends=('sh' 'perl')
makedepends=('git')
provides=('automake')
conflicts=('automake')
source=("git+https://git.savannah.gnu.org/git/automake.git")
sha256sums=('SKIP')


pkgver() {
  cd "automake"

  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "automake"

  ./bootstrap
  ./configure --prefix="/usr"
  make
}

check() {
  cd "automake"

  #make check
}

package() {
  cd "automake"

  make DESTDIR="$pkgdir" install
}