summaryrefslogtreecommitdiff
path: root/extra/asp/PKGBUILD
blob: 0ff84047766bba04ebd25ee3bcd73ec290704589 (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.1
pkgrel=1
url='https://git.archlinux32.org/archlinux32/asp32/'
license=(MIT)
source=("https://sources.archlinux32.org/sources/${pkgname}32-$pkgver.tar.gz"{,.sig})
sha512sums=('4e4a0e62a89e2b76f719823b269bd0895145ea5033abe4dec403e2b27f30b369edd28cbb2b10f1aea79ebdb71a8975d87dedce8cebae947e4aff62b8caba93d7'
            '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,
       }
    '
)"