[aur-general] My first PKGBUILD
Bennett Piater
bennett at piater.name
Sun Jun 12 12:22:13 UTC 2016
> I am now considering maintaining it in the AUR. If someone has time, I
> would like to get some feedback for my PKGBUILD before I publish it.
I guess I should attach it :D
Cheers,
Bennett
--
GPG fingerprint: 871F 1047 7DB3 DDED 5FC4 47B2 26C7 E577 EF96 7808
-------------- next part --------------
# Maintainer: Bennett Piater <bennett at piater dot name>
pkgname='battlescribe'
pkgver='1.15.07'
pkgrel=3
pkgdesc="An army list builder for table-top games."
arch=(any)
url="http://battlescribe.net/"
license=('custom')
depends=('java-environment' 'bash')
source=('http://files.battlescribe.net/BattleScribe_1.15.07_Multi.zip'
"$pkgname.desktop"
"$pkgname.png"
'BattleScribe.sh')
md5sums=('1104d01254a217e0472b13fbb7af612f'
'c971a70893a6960006d290a15a44af48'
'd0fef06c5b080003f84a0e148fbe9261'
'c344ad9eddc6d1a13249c4a238826c1d')
package() {
cd "$srcdir"
# Copy files to system
install -D -t "$pkgdir/opt/$pkgname/" *.sh *.jar
mv lib "$pkgdir/opt/$pkgname/"
# Copy the licence
install -Dm644 -t "$pkgdir/usr/share/licenses/battlescribe/" license.txt
# Copy the desktop file and image
install -Dm644 -t "$pkgdir/usr/share/applications/" *.desktop
install -Dm644 "$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 538 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20160612/21595434/attachment.asc>
More information about the aur-general
mailing list