Merge branch 'main' of git.zander.im:Zander671/build-scripts

This commit is contained in:
Alexander Rosenberg 2023-05-23 04:31:49 -07:00
commit b55556604f
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -1,7 +1,7 @@
# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
pkgname='license-tool'
pkgver=6
pkgver=7
pkgrel=1
pkgdesc='A simple tool for creating LICENSE files'
url='https://git.zander.im/Zander671/license-tool'
@ -24,7 +24,7 @@ build() {
package() {
install -Dt "$pkgdir/usr/bin/" "$pkgname/target/release/license-tool"
install -Dt "$pkgdir/usr/share/zsh/site-functions" "$pkgname/_license-tool"
install -m 0644 -Dt "$pkgdir/usr/share/zsh/site-functions" "$pkgname/_license-tool"
mkdir -p "$pkgdir/usr/share/"
cp -r "$pkgname/licenses" "$pkgdir/usr/share/license-tool"
}