aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-06-13 18:50:24 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-13 18:52:10 +0200
commit8a2ec3906349a65fccbe9f384464b4c25830edcb (patch)
tree017f590ca3ef4bcd6a7c7118c436b743f12fdd71
parent4a2bf40c4ae4e375dfdbc437a794ad31d60b7913 (diff)
downloadpkgbuilds-python-srcinfo.tar.xz
install LICENSEpython-srcinfo
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 964dc3c..3fc3c56 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=python-srcinfo
pkgver=0.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="Simple .SRCINFO parsing library"
url='https://github.com/kyrias/python-srcinfo'
@@ -16,4 +16,5 @@ md5sums=('9eb6917d2cdb15dc8ac60d7074e8b777')
package() {
cd python-srcinfo-"$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}