summaryrefslogtreecommitdiff
path: root/asp32/PKGBUILD
blob: eece93f8282c722043fd2786c007d582faaea2f9 (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
# Maintainer:  Erich Eckner <arch at eckner dot net>
# Contributor: Dave Reisner <d@falconindy.com>

pkgname=asp32
pkgver=2
pkgrel=1
pkgdesc="Arch Linux build source file management tool"
arch=(any)
url='https://github.com/archlinux32/asp32/'
license=(MIT)
depends=(awk bash jq git libarchive)
makedepends=(asciidoc)
conflicts=('asp')
source=("$pkgname-$pkgver.tar.gz::https://github.com/archlinux32/$pkgname/archive/v$pkgver.tar.gz")
sha512sums=('6a02594b9751c000166506f133a4205311e9ab911fcfa9c4430ed9eef1c0e93fe7f5ca80cbb2bf307547d41c590c5a266b18079a0a510ceefc82082698265843')

build() {
  make -C $pkgname-$pkgver
}

package() {
  make -C $pkgname-$pkgver PREFIX=/usr DESTDIR="$pkgdir" install
  install -Dm644 $pkgname-$pkgver/LICENSE "$pkgdir/usr/share/licenses/asp/LICENSE"
}