> 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
# 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"
}

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to