diff options
author | Max Bruckner | 2014-05-03 23:11:33 +0200 |
---|---|---|
committer | Max Bruckner | 2015-06-08 12:19:16 +0200 |
commit | e1aa5602ffdf4e937dc5c8074ad38e44717390ed (patch) | |
tree | 2c7405cc44a5db933694da1c3f0fcd2e65279bda | |
parent | 99c75da6914a4c6f9f3a8ee4c902381b6ab9b6ae (diff) | |
download | aur-e1aa5602ffdf4e937dc5c8074ad38e44717390ed.tar.gz |
1.3.0-2: Add .desktop file, use install
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 18 | ||||
-rw-r--r-- | easyhg.desktop | 9 |
3 files changed, 22 insertions, 9 deletions
@@ -1,7 +1,7 @@ pkgbase = easyhg pkgdesc = Simple user interface for the Mercurial distributed version contol system. pkgver = 1.3.0 - pkgrel = 1 + pkgrel = 2 url = http://easyhg.org arch = i686 arch = x86_64 @@ -12,7 +12,9 @@ pkgbase = easyhg optdepends = python-crypto: password store optdepends = kdiff3: external diff/merge tool source = https://code.soundsoftware.ac.uk/attachments/download/639/EasyMercurial-1.3.0-src.tar.gz + source = easyhg.desktop md5sums = 728858917b2b121e2ee7ce160ff4151f + md5sums = d4362bd25f61606a67bbe27bbfacbeeb pkgname = easyhg @@ -1,7 +1,7 @@ # Maintainer: Max Bruckner pkgname=easyhg pkgver=1.3.0 -pkgrel=1 +pkgrel=2 pkgdesc="Simple user interface for the Mercurial distributed version contol system." arch=('i686' 'x86_64') url="http://easyhg.org" @@ -10,18 +10,20 @@ depends=('qt4' 'mercurial') optdepends=('pyqt: authentication extension' 'python-crypto: password store' 'kdiff3: external diff/merge tool') -source=(https://code.soundsoftware.ac.uk/attachments/download/639/EasyMercurial-1.3.0-src.tar.gz) -md5sums=('728858917b2b121e2ee7ce160ff4151f') +source=("https://code.soundsoftware.ac.uk/attachments/download/639/EasyMercurial-$pkgver-src.tar.gz" + easyhg.desktop +) +md5sums=('728858917b2b121e2ee7ce160ff4151f' + 'd4362bd25f61606a67bbe27bbfacbeeb') build() { - cd "$srcdir/EasyMercurial-1.3.0-src" + cd "$srcdir/EasyMercurial-$pkgver-src" qmake-qt4 make } package() { - cd "$srcdir/EasyMercurial-1.3.0-src" - mkdir "$pkgdir/usr" - mkdir "$pkgdir/usr/bin" - cp EasyMercurial "$pkgdir/usr/bin/easyhg" + install -Dm 755 "$srcdir/EasyMercurial-$pkgver-src/EasyMercurial" "$pkgdir/usr/bin/easyhg" + install -Dm 644 "$srcdir/EasyMercurial-$pkgver-src/images/icon/scalable/easyhg-icon.svg" "$pkgdir/usr/share/pixmaps/easyhg.svg" + install -Dm 644 "$srcdir/easyhg.desktop" "$pkgdir/usr/share/applications/easyhg.desktop" } diff --git a/easyhg.desktop b/easyhg.desktop new file mode 100644 index 000000000000..6e85456c5b48 --- /dev/null +++ b/easyhg.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=1.0 +Name=EasyMercurial +Comment=Simple user interface for Mercurial. +Exec=easyhg +Icon=easyhg +Terminal=false +Type=Application +Categories=Development; |