summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Lühne2017-11-24 12:39:12 +0100
committerPatrick Lühne2017-11-24 12:39:12 +0100
commit748b3b92078576cabafb38e4cd6144a3f9b1fbab (patch)
treef6e36a12a5ce58a1a35524886a1f587214a94c7d
parentbab0762231ae283ca0817546a36fd441ba5873fc (diff)
downloadaur-748b3b92078576cabafb38e4cd6144a3f9b1fbab.tar.gz
Install license file
python-miio now comes with a dedicated license file, which can now be installed to /usr/share/licenses.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a8bd967e8ec..bcc5a37bd04 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-miio
pkgdesc = Python library & console tool for controlling Xiaomi smart appliances
pkgver = 0.3.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/rytilahti/python-miio
arch = any
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index 5cdd9e71a19..8a55ba3ade9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=python-miio
pkgver=0.3.2
-pkgrel=1
+pkgrel=2
pkgdesc="Python library & console tool for controlling Xiaomi smart appliances"
url="https://github.com/rytilahti/python-miio"
arch=('any')
@@ -19,4 +19,5 @@ build() {
package() {
cd ${pkgname}-${pkgver}
python setup.py install --prefix=/usr --root="${pkgdir}"
+ install -D -m644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
}