summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 38ae936020740386506445054385940441154f11 (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
# Maintainer: Dave Reisner <d@falconindy.com>

pkgname=asp-git
pkgver=1.3.g375b035
pkgrel=1
pkgdesc="Arch Linux build source file management (git version)"
arch=('any')
url="https://github.com/falconindy/asp"
license=('MIT')
depends=('awk' 'bash' 'jq' 'git')
makedepends=('asciidoc')
conflicts=('asp')
provides=('asp')
source=("git://github.com/falconindy/asp")
md5sums=('SKIP')

pkgver() {
  cd 'asp'

  git describe | sed 's/^v//; s/-/./g'
}

build() {
  make -C asp
}

package() {
  make -C asp PREFIX=/usr DESTDIR="$pkgdir" install

  install -Dm644 asp/LICENSE "$pkgdir/usr/share/licenses/asp/LICENSE"
}

# vim: ft=sh syn=sh et