summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlexandre Pujol2022-06-03 11:59:27 +0100
committerAlexandre Pujol2022-06-03 11:59:27 +0100
commit99670f42ea00fdf9fae8fa8481f32207be6a98e2 (patch)
tree9568ff62e3548981ea6f1bc0f6981114c7037954 /PKGBUILD
parent98f16d3b6f33b024712fc0e22de54718788fa975 (diff)
downloadaur-luastatic.tar.gz
upgpkg: luastatic 0.0.12-2
luastatic 0.0.12-2 Add license file.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dc4828a63428..6fe022ce80af 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,16 +2,17 @@
pkgname='luastatic'
pkgver=0.0.12
-pkgrel=1
+pkgrel=2
pkgdesc='Build a standalone executable from a Lua program.'
arch=('any')
url='https://github.com/ers35/luastatic'
-license=('CC0')
+license=('custom:CC0')
depends=('lua')
source=("$pkgname-$pkgver::https://github.com/ers35/luastatic/archive/refs/tags/$pkgver.tar.gz")
sha512sums=('83bdf50536eb9f817c394d309a56a1476b3d40262ab9e1a81b185f2d599ebfe523ebbf8559837a710b679941908aea1dc5bfd6e9aba6420b8cc41273d8a1b731')
package() {
cd "$pkgname-$pkgver"
+ install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm755 luastatic.lua "$pkgdir"/usr/bin/$pkgname
}