diff options
author | mityada | 2016-11-27 23:26:00 +0300 |
---|---|---|
committer | mityada | 2016-11-27 23:26:00 +0300 |
commit | 363f6d9751e55374962e33c2ae9c80ef8d849e47 (patch) | |
tree | c15b9b7ca48b5312acff55f46c34006a94edd235 | |
parent | 0513854309369752560c8dfcafd28dec7e71064f (diff) | |
download | aur-jbead.tar.gz |
Add desktop file
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 17 | ||||
-rw-r--r-- | jbead.desktop | 8 |
3 files changed, 26 insertions, 4 deletions
@@ -1,15 +1,18 @@ pkgbase = jbead pkgdesc = A bead rope crochet design software pkgver = 1.0.23 - pkgrel = 1 + pkgrel = 2 url = http://www.jbead.ch/ arch = any license = GPL3 + makedepends = unzip depends = java-runtime source = http://www.jbead.ch/releases/jbead_1.0.23_linux.tar.gz source = jbead + source = jbead.desktop md5sums = 992459d3e9a50ba47df741fec1a75b9c md5sums = 646212e9c1c27773bf7c188466eb4ced + md5sums = ccdc5f8ffae08530108fd5aeaa2deb0f pkgname = jbead @@ -1,25 +1,36 @@ # Maintainer: mityada <mityada@gmail.com> pkgname=jbead pkgver=1.0.23 -pkgrel=1 +pkgrel=2 pkgdesc="A bead rope crochet design software" arch=('any') url="http://www.jbead.ch/" license=('GPL3') depends=('java-runtime') +makedepends=('unzip') source=("http://www.jbead.ch/releases/jbead_${pkgver}_linux.tar.gz" - "jbead") + "jbead" + "jbead.desktop") md5sums=('992459d3e9a50ba47df741fec1a75b9c' - '646212e9c1c27773bf7c188466eb4ced') + '646212e9c1c27773bf7c188466eb4ced' + 'ccdc5f8ffae08530108fd5aeaa2deb0f') + +prepare() { + cd "$srcdir/${pkgname}_$pkgver" + + unzip -o "$pkgname.jar" "images/jbead-32.png" +} package() { cd "$srcdir" install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname" + install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" cd "${pkgname}_$pkgver" install -Dm644 "$pkgname.jar" "$pkgdir/usr/share/$pkgname/$pkgname.jar" install -d "$pkgdir/usr/share/doc/$pkgname/samples" install -m644 samples/*.jbb "$pkgdir/usr/share/doc/$pkgname/samples" + install -Dm644 "images/jbead-32.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" } diff --git a/jbead.desktop b/jbead.desktop new file mode 100644 index 000000000000..7d5726b992ca --- /dev/null +++ b/jbead.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=jbead +Comment=A bead rope crochet design software +Exec=jbead +Icon=jbead +Terminal=false +Type=Application +Categories=Graphics;Java; |