diff options
Diffstat (limited to 'community/gxmessage')
-rw-r--r-- | community/gxmessage/PKGBUILD | 32 | ||||
-rw-r--r-- | community/gxmessage/gxmessage.desktop | 10 | ||||
-rw-r--r-- | community/gxmessage/gxmessage.install | 4 |
3 files changed, 46 insertions, 0 deletions
diff --git a/community/gxmessage/PKGBUILD b/community/gxmessage/PKGBUILD new file mode 100644 index 000000000..c11e4e8fd --- /dev/null +++ b/community/gxmessage/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 93662 2013-07-08 11:18:13Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Geoffroy Carrier <geoffroy.carrier@koon.fr> +# Contributor: Jaroslav Lichtblau <tu@dragonlord.cz> + +pkgname=gxmessage +pkgver=2.20.0 +pkgrel=1 +pkgdesc="A GTK2 based xmessage clone." +arch=('i686' 'x86_64') +url="http://homepages.ihug.co.nz/~trmusson/programs.html#gxmessage" +license=('GPL') +depends=('gtk2' 'desktop-file-utils') +makedepends=('pkgconfig' 'intltool') +install=$pkgname.install +source=(http://homepages.ihug.co.nz/~trmusson/stuff/$pkgname-$pkgver.tar.gz + $pkgname.desktop) +md5sums=('f4160442548bdd90895b008b85df0f6e' + 'af92506581c1aae70e3845a66a983f22') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -D -m644 "$srcdir/$pkgname.desktop" \ + "${pkgdir}/usr/share/applications/$pkgname.desktop" +} diff --git a/community/gxmessage/gxmessage.desktop b/community/gxmessage/gxmessage.desktop new file mode 100644 index 000000000..f569431ff --- /dev/null +++ b/community/gxmessage/gxmessage.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=Gxmessage +GenericName=gxmessage +Comment=A GTK2 based xmessage clone. +Comment[cs]=Klon xmessage postavený na knihovně GTK2. +Icon=gxmessage +Exec=gxmessage +Terminal=false +Categories=Utility; diff --git a/community/gxmessage/gxmessage.install b/community/gxmessage/gxmessage.install new file mode 100644 index 000000000..de3e0f510 --- /dev/null +++ b/community/gxmessage/gxmessage.install @@ -0,0 +1,4 @@ +post_install() { + echo "Updating desktop and mime database ..." + update-desktop-database -q +} |