summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlarchunix2017-12-09 11:20:39 +0100
committerlarchunix2017-12-09 11:20:39 +0100
commit4ebc31043e64d270a122313118d759a347b6c3e2 (patch)
tree5ef30fa77cf16620743e8bb78e66a084ca51f8e3
parente68b6cee4f99698f6703e2968df9431ddfda695f (diff)
downloadaur-4ebc31043e64d270a122313118d759a347b6c3e2.tar.gz
Project has moved from fedorahosted.org to github
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD14
2 files changed, 12 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5c815b19482..9a6f9cd2c5f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
pkgbase = drpm
pkgdesc = A small library for fetching information from deltarpm packages
pkgver = 0.3.0
- pkgrel = 1
- url = https://fedorahosted.org/drpm/
+ pkgrel = 2
+ url = https://github.com/rpm-software-management/drpm
arch = i686
arch = x86_64
+ license = BSD
license = LGPL3
checkdepends = cmocka
makedepends = cmake
@@ -14,7 +15,7 @@ pkgbase = drpm
depends = rpm-org
depends = xz
depends = zlib
- source = https://fedorahosted.org/released/drpm/drpm-0.3.0.tar.bz2
+ source = http://pkgs.fedoraproject.org/repo/pkgs/drpm/drpm-0.3.0.tar.bz2/e1ca38e14f52d0f5229bba45ba8b8904/drpm-0.3.0.tar.bz2
md5sums = e1ca38e14f52d0f5229bba45ba8b8904
pkgname = drpm
diff --git a/PKGBUILD b/PKGBUILD
index a7881d48be0..336c429369a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,15 @@
pkgname=drpm
pkgver=0.3.0
-pkgrel=1
+pkgrel=2
pkgdesc="A small library for fetching information from deltarpm packages"
arch=('i686' 'x86_64')
-url="https://fedorahosted.org/$pkgname/"
-license=('LGPL3')
+url="https://github.com/rpm-software-management/$pkgname"
+license=('BSD' 'LGPL3')
depends=('bzip2' 'openssl' 'rpm-org' 'xz' 'zlib')
makedepends=('cmake' 'doxygen')
checkdepends=('cmocka')
-source=("https://fedorahosted.org/released/$pkgname/$pkgname-$pkgver.tar.bz2")
md5sums=('e1ca38e14f52d0f5229bba45ba8b8904')
+source=("http://pkgs.fedoraproject.org/repo/pkgs/$pkgname/$pkgname-$pkgver.tar.bz2/${md5sums[0]}/$pkgname-$pkgver.tar.bz2")
prepare() {
cd "$pkgname-$pkgver"
@@ -38,8 +38,10 @@ package() {
cd "$pkgname-$pkgver"/build
make DESTDIR="$pkgdir/" install
- install -d "$pkgdir"/usr/share/doc/$pkgname
- cp -a doc/html "$pkgdir"/usr/share/doc/$pkgname/html
+ mkdir -p "$pkgdir"/usr/share/doc/$pkgname
+ cp -Rp doc/html "$pkgdir"/usr/share/doc/$pkgname/html
+
+ install -Dp -m644 ../LICENSE.BSD "$pkgdir/usr/share/licenses/$pkgname/LICENSE.BSD"
}
# vim: set ft=sh ts=4 sw=4 noet: