summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBigmenPixel02022-01-14 16:16:12 +0000
committerBigmenPixel02022-01-14 16:16:12 +0000
commit3a9b63bd771c640fd661398a9dd745d9670e33e9 (patch)
treecd6201cdbb5c84b5dc5e5a8af6e45894f8880e8f
parent872961bc17caa08c8741517d72472d41f8c61115 (diff)
downloadaur-3a9b63bd771c640fd661398a9dd745d9670e33e9.tar.gz
build: Install LICENSE file
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 55acb69cbba3..e6268a5534cb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = tun2socks
pkgdesc = tun2socks - powered by gVisor TCP/IP stack
pkgver = 2.3.2
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/xjasonlyu/tun2socks
arch = any
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index c705d5f22f61..07c651b8ec44 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=tun2socks
pkgver=2.3.2
-pkgrel=2
+pkgrel=3
pkgdesc="tun2socks - powered by gVisor TCP/IP stack"
arch=('any')
url="https://github.com/xjasonlyu/tun2socks"
@@ -29,4 +29,5 @@ build() {
package() {
cd "${pkgname}-${pkgver}"
install -Dm755 build/${pkgname} "${pkgdir}"/usr/bin/${pkgname}
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}