diff options
author | Gabriel-Andrew Pollo Guilbert | 2016-02-17 07:45:19 -0500 |
---|---|---|
committer | Gabriel-Andrew Pollo Guilbert | 2016-02-17 07:45:19 -0500 |
commit | 2c6d21ebe36c689f14e382eadf1f97220563bdfa (patch) | |
tree | faaa3878d950c55b135d6046bd4d4de610aa5e05 | |
parent | 8e76f6b1b02ae2e2f921a7c14740df3597bc5de4 (diff) | |
download | aur-2c6d21ebe36c689f14e382eadf1f97220563bdfa.tar.gz |
Update .desktop file generation
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Mon Feb 15 20:10:21 UTC 2016 +# Wed Feb 17 12:44:47 UTC 2016 pkgbase = vpaint pkgdesc = VPaint is an experimental vector graphics editor based on the Vector Animation Complex technology. pkgver = 1.6 @@ -15,7 +15,10 @@ source=("https://github.com/dalboris/vpaint/archive/v$pkgver.tar.gz") md5sums=('f9b36a571f6dceafefa66d8a71006163') prepare() { - gendesk -f --pkgname "$pkgname" --pkgdesc "$pkgdesc" + icotool -x -o $srcdir/vpaint.png $srcdir/$pkgname-$pkgver/src/Gui/images/VPaint.ico + gendesk -f --pkgname "$pkgname" --pkgdesc "Vector graphics editor" --name="VPaint" \ + --comment "Start VPaint" --exec "$pkgname" --categories "Graphics" \ + --custom "Icon=/usr/share/pixmaps/vpaint.png" } build() { @@ -33,5 +36,6 @@ package() { mkdir -p "$pkgdir/usr/bin" install -Dm755 "$srcdir/$pkgname-$pkgver/build/Gui/VPaint" "$pkgdir/usr/bin/vpaint" + install -Dm644 "$srcdir/vpaint.png" "$pkgdir/usr/share/pixmaps/vpaint.png" install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" } |