summaryrefslogtreecommitdiff
path: root/extra/asp/PKGBUILD
blob: f697f56cd531dfff2784874237858dc4d1e269d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# we override almost everything

pkgver=0.3
pkgrel=1
url='https://git.archlinux32.org/archlinux32/asp32/'
license=(MIT)
source=("https://sources.archlinux32.org/sources/${pkgname}32-$pkgver.tar.gz"{,.sig})
sha512sums=('908b9170dd49bd3bfabe1f1f950d785f93d972036af69d17be2e589ad4534f86baac60b6b8d6123273f051e88a1fd858677c0219509f7f90b6abd19490c4cff6'
            'SKIP')
validpgpkeys=('DE9F7688CACF04FEB81A6C590AEEC90755DA7B5A')

unset md5sums
unset sha256sums

eval "$(
  declare -f prepare build check package | \
    sed '
       /^\s*make /    s/-C asp/\032-$pkgver/
       /^\s*install / {
         s, asp\(/\S\+ .*/\)asp\(/\S\+$\), asp32-$pkgver\1asp32\2,
       }
    '
)"