summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 48bd9ef380a154efcc70aa6d27ba8ad3bcfc71a6 (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
#PKGBUILD was last modified on September 27, 2022 at 03:55 PM EDT by bms#
# Maintainer: Ben Sutter <benjaminsutter@outlook.com>
pkgname=remake-git
pkgver=r3131.7619a012
pkgrel=1
pkgdesc="Enhanced GNU Make - tracing, error reporting, debugging, profiling and more"
arch=('i686' 'x86_64' 'aarch64')
url="http://bashdb.sourceforge.net/remake/"
license=('GPL3')
provides=("remake=$pkgver")
depends=('glibc' 'guile')
makedepends=('git' 'patch')
source=("${pkgname%-git}::git+https://github.com/rocky/remake.git")
sha256sums=('SKIP')

pkgver() {
  cd "${pkgname%-git}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
  cd "${pkgname%-git}"
  autoreconf -fi
  ./configure --disable-nls --with-guile --prefix=/usr
  (cd doc && make stamp-1 stamp-vti)
}

build() {
  cd "${pkgname%-git}"
  make
}

check() {
  cd "${pkgname%-git}"
  make check
}

package() {
  cd "${pkgname%-git}"
  make DESTDIR="$pkgdir" install
  rm "$pkgdir"/usr/share/info/make.info{,-1,-2}
}
#end