summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiachen YANG2019-03-13 21:50:26 +0900
committerJiachen YANG2019-03-13 21:50:26 +0900
commit2c79b0b5beaac50628a40f0a68a7a2eb0eaa2a6b (patch)
treed3c59972d44db1bf5222902f0b451d827f0826ea
parent06bf3467ddf0806c8511d35c7070389b2f455eeb (diff)
downloadaur-2c79b0b5beaac50628a40f0a68a7a2eb0eaa2a6b.tar.gz
install license
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f02fc9d47f5c..149e96a2b235 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = conoha-iso-git
pkgdesc = ISO image management tool for ConoHa
pkgver = 0.4.3.r74.gc5bb13a
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/hironobu-s/conoha-iso
arch = x86_64
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index abdfacb114ef..12726c22757f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=conoha-iso
pkgname=${_pkgname}-git
pkgver=0.4.3.r74.gc5bb13a
-pkgrel=1
+pkgrel=2
pkgdesc="ISO image management tool for ConoHa"
arch=(x86_64)
url="https://github.com/hironobu-s/conoha-iso"
@@ -34,4 +34,5 @@ build() {
package() {
cd gopath/src/github.com/$_pkgname/$_pkgname
install -Dm755 bin/linux/conoha-iso $pkgdir/usr/bin/conoha-iso
+ install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}