summarylogtreecommitdiffstats
path: root/PKGBUILD
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 /PKGBUILD
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.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
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}"
}