summaryrefslogtreecommitdiff
path: root/asp32/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-06 15:17:50 +0200
committerErich Eckner <git@eckner.net>2018-06-06 15:17:50 +0200
commit235bbb6a79dde47a7f920b7fe449770ac9d4886f (patch)
tree2afb2239b94cc6b8473870df90eb07923173d5ed /asp32/PKGBUILD
parent5b27b03f62206b9e78b8e2d3cb162881be6be4ac (diff)
downloadarchlinuxewe-235bbb6a79dde47a7f920b7fe449770ac9d4886f.tar.xz
archlinux32: new download locations
Diffstat (limited to 'asp32/PKGBUILD')
-rw-r--r--asp32/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/asp32/PKGBUILD b/asp32/PKGBUILD
index efc1a16f6..e18aa9d4f 100644
--- a/asp32/PKGBUILD
+++ b/asp32/PKGBUILD
@@ -13,14 +13,18 @@ license=(MIT)
depends=(awk bash jq git libarchive)
makedepends=(asciidoc)
conflicts=('asp')
-source=("$pkgname-$pkgver.tar.gz::https://git.archlinux32.org/archlinux32/$pkgname/archive/v$pkgver.tar.gz")
-sha512sums=('82b7129b75fa3c9d7f86f6f0e76b866ee6b0ef7457755830b710eb9149165748562e72e578f1a9c623baacf58671059af7293f7b8657f69cc63fe281ec7ce1a4')
+source=("https://sources.archlinux32.org/sources/${pkgname}-v${pkgver}.tar.gz"{,.sig})
+sha512sums=(
+ 'eb51380220e47bfcb735ceae8c072c2a5798ccfb0a5f72a5c1d0788d6379a48b2197108c2ffad68c987c60412978929362969f4f7ea3fbd5916ec7e0f8d93f34'
+ 'SKIP'
+)
+validpgpkeys=('DE9F7688CACF04FEB81A6C590AEEC90755DA7B5A')
build() {
- make -C $pkgname
+ make -C "${pkgname}-v${pkgver}"
}
package() {
- make -C $pkgname PREFIX=/usr DESTDIR="$pkgdir" install
- install -Dm644 $pkgname/LICENSE "$pkgdir/usr/share/licenses/asp/LICENSE"
+ make -C "${pkgname}-v${pkgver}" PREFIX=/usr DESTDIR="$pkgdir" install
+ install -Dm644 "${pkgname}-v${pkgver}/LICENSE" "$pkgdir/usr/share/licenses/asp/LICENSE"
}