summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlarchunix2018-02-11 18:35:31 +0100
committerlarchunix2018-02-11 18:35:31 +0100
commitec7fecd4c29bd5e59c40f042c385f708ccf81c5d (patch)
tree7eb218d12b5b7533d968d14864e7171df774006c
parent4ebc31043e64d270a122313118d759a347b6c3e2 (diff)
downloadaur-ec7fecd4c29bd5e59c40f042c385f708ccf81c5d.tar.gz
Get sources from git snapshot
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9a6f9cd2c5f..61b283d2335 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -15,8 +15,8 @@ pkgbase = drpm
depends = rpm-org
depends = xz
depends = zlib
- source = http://pkgs.fedoraproject.org/repo/pkgs/drpm/drpm-0.3.0.tar.bz2/e1ca38e14f52d0f5229bba45ba8b8904/drpm-0.3.0.tar.bz2
- md5sums = e1ca38e14f52d0f5229bba45ba8b8904
+ source = https://github.com/rpm-software-management/drpm/archive/f955e6ba5f920dea25d9ec28f93ce650bf9d6c9d/drpm-0.3.0.tar.gz
+ md5sums = f2b03f8821c61a23264becbad01cda63
pkgname = drpm
diff --git a/PKGBUILD b/PKGBUILD
index 336c429369a..533ddf76a27 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
pkgname=drpm
+_commit=f955e6ba5f920dea25d9ec28f93ce650bf9d6c9d
pkgver=0.3.0
pkgrel=2
pkgdesc="A small library for fetching information from deltarpm packages"
@@ -8,10 +9,11 @@ license=('BSD' 'LGPL3')
depends=('bzip2' 'openssl' 'rpm-org' 'xz' 'zlib')
makedepends=('cmake' 'doxygen')
checkdepends=('cmocka')
-md5sums=('e1ca38e14f52d0f5229bba45ba8b8904')
-source=("http://pkgs.fedoraproject.org/repo/pkgs/$pkgname/$pkgname-$pkgver.tar.bz2/${md5sums[0]}/$pkgname-$pkgver.tar.bz2")
+source=("$url/archive/$_commit/$pkgname-$pkgver.tar.gz")
+md5sums=('f2b03f8821c61a23264becbad01cda63')
prepare() {
+ mv "$pkgname-$_commit" "$pkgname-$pkgver"
cd "$pkgname-$pkgver"
rm -rf build
mkdir build