summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 34077b95f5f88c2f97c90d43e39fd1e748165ab1 (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
43
44
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>

pkgname=make-git
pkgver=4.3.r2.g4533348
pkgrel=1
pkgdesc="A tool which controls the generation of executables and other non-source files of a program from the program's source files"
arch=('i686' 'x86_64')
url="https://www.gnu.org/software/make/"
license=('GPL3')
depends=('glibc' 'guile')
makedepends=('git' 'rsync' 'wget')
provides=('make')
conflicts=('make')
source=("git+https://git.savannah.gnu.org/git/make.git")
sha256sums=('SKIP')


pkgver() {
  cd "make"

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

build() {
  cd "make"

  ./bootstrap
  ./configure \
    --prefix="/usr" \
    --with-guile
  make
}

check() {
  cd "make"

  make check
}

package() {
  cd "make"

  make DESTDIR="$pkgdir" install
}