diff options
author | Patrick Lühne | 2017-11-24 12:39:12 +0100 |
---|---|---|
committer | Patrick Lühne | 2017-11-24 12:39:12 +0100 |
commit | 748b3b92078576cabafb38e4cd6144a3f9b1fbab (patch) | |
tree | f6e36a12a5ce58a1a35524886a1f587214a94c7d | |
parent | bab0762231ae283ca0817546a36fd441ba5873fc (diff) | |
download | aur-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-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -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 @@ -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}" } |