summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2020-04-02 10:58:57 +0200
committerhaawda2020-04-02 10:58:57 +0200
commit68a8b26c6983846b39a112c5fd07c85d88e091d5 (patch)
treee7c2a9590066a2ab05698ea1d3a369f1d2de86d3
parentfde27d65a715d2e1ab900730736b5cd6ad7cad54 (diff)
downloadaur-68a8b26c6983846b39a112c5fd07c85d88e091d5.tar.gz
add license file
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 48ce703cc9f1..801b2ae515b4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = python-shortuuid
pkgdesc = shortuuid is a simple python library that generates concise, unambiguous, URL-safe UUIDs.
pkgver = 1.0.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/skorokithakis/shortuuid
arch = any
- license = BSD
+ license = custom:BSD
depends = python
options = !emptydirs
source = python-shortuuid-1.0.1.tar.gz::https://github.com/skorokithakis/shortuuid/archive/v1.0.1.tar.gz
- md5sums = SKIP
+ md5sums = 57fe99c8d16fa3c376e725963f8561a6
pkgname = python-shortuuid
diff --git a/PKGBUILD b/PKGBUILD
index df6345ade5ed..6779ad5ab382 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,17 +3,18 @@
pkgname=python-shortuuid
pkgver=1.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="shortuuid is a simple python library that generates concise, unambiguous, URL-safe UUIDs."
arch=('any')
url="https://github.com/skorokithakis/shortuuid"
-license=('BSD')
+license=('custom:BSD')
depends=('python')
options=(!emptydirs)
source=("$pkgname-$pkgver.tar.gz::${url}/archive/v$pkgver.tar.gz")
-md5sums=('SKIP')
+md5sums=('57fe99c8d16fa3c376e725963f8561a6')
package() {
cd ${pkgname#python-}-$pkgver
python setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}