diff options
author | Florent Ch | 2018-08-21 09:33:33 +0200 |
---|---|---|
committer | Florent Ch | 2018-08-21 09:33:33 +0200 |
commit | f36b4f256482b02291e1ce75928180afb0378244 (patch) | |
tree | fb319a49a5353d1bbae10c417f72d9a8dd7b1429 | |
parent | cfbb4d59d26ddac425d6e0f43c59d832b861f386 (diff) | |
download | aur-f36b4f256482b02291e1ce75928180afb0378244.tar.gz |
Use release archive and verify checksum
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 6 deletions
@@ -8,8 +8,8 @@ pkgbase = xob makedepends = git depends = libx11 depends = libconfig - source = xob::git+https://github.com/florentc/xob.git#tag=v0.1 - md5sums = SKIP + source = https://github.com/florentc/xob/archive/v0.1.tar.gz + sha256sums = 751d148fdf2bfa4779f05afa22673653b3475ab0418d4803162d2e4a3097f896 pkgname = xob @@ -8,15 +8,15 @@ url="https://github.com/florentc/xob" license=('GPL3') depends=('libx11' 'libconfig') makedepends=('git') -source=("${pkgname}::git+${url}.git#tag=v${pkgver}") -md5sums=('SKIP') +source=("${url}/archive/v${pkgver}.tar.gz") +sha256sums=('751d148fdf2bfa4779f05afa22673653b3475ab0418d4803162d2e4a3097f896') build() { - cd "$pkgname" + cd "$pkgname-$pkgver" make PREFIX="/usr" } package() { - cd "$pkgname" + cd "$pkgname-$pkgver" make DESTDIR="$pkgdir/" install } |