summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 95a234550e68648a8fa2316dd862ec727644dc3b (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
#Maintainer: Morten Linderud <foxboron@archlinux.org 

pkgname=devtools-repro-git
pkgver=r84.e1aa4a1
pkgrel=1
pkgdesc='Tools to reproduce arch linux packages'
arch=('any')
license=('MIT')
makedepends=('git' 'asciidoc')
depends=('diffoscope' 'curl' 'gnupg' 'git')
url="http://github.com/foxboron/devtools-repro"
source=("git+https://github.com/foxboron/devtools-repro.git")
sha256sums=('SKIP')

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

build(){
  cd devtools-repro
  make man
}

package() {
  cd devtools-repro
  make PREFIX=/usr DESTDIR="$pkgdir" PROGNM=$pkgname install
}