summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-10-31 13:04:51 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-10-31 13:04:51 -0400
commitbac55487f84eb029aaeae0e90bf9390f6321331d (patch)
tree453971fdbe202876c5e57daee546abe33d002e37
parenta2331ffc48bf26353c640780355a27f4a6ef2917 (diff)
downloadabslibre-bac55487f84eb029aaeae0e90bf9390f6321331d.tar.gz
abslibre-bac55487f84eb029aaeae0e90bf9390f6321331d.tar.bz2
abslibre-bac55487f84eb029aaeae0e90bf9390f6321331d.zip
add pcr/gxmessage2
-rw-r--r--pcr/gxmessage2/PKGBUILD41
-rw-r--r--pcr/gxmessage2/gxmessage.desktop.in10
-rw-r--r--pcr/gxmessage2/gxmessage.install4
3 files changed, 55 insertions, 0 deletions
diff --git a/pcr/gxmessage2/PKGBUILD b/pcr/gxmessage2/PKGBUILD
new file mode 100644
index 000000000..180edee04
--- /dev/null
+++ b/pcr/gxmessage2/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer (Arch): Geoffroy Carrier <geoffroy.carrier@koon.fr>
+# Contributor (Arch): Jaroslav Lichtblau <tu@dragonlord.cz>
+
+_pkgname=gxmessage
+pkgver=2.20.1
+
+pkgname=$_pkgname${pkgver%%.*}
+conflicts=("$_pkgname")
+provides=("$_pkgname=$pkgver")
+pkgrel=1
+pkgdesc="A GTK+${pkgver%%.*} based xmessage clone."
+arch=('i686' 'x86_64')
+url="http://homepages.ihug.co.nz/~trmusson/programs.html#gxmessage"
+license=('GPL')
+depends=("gtk${pkgver%%.*}" 'desktop-file-utils')
+makedepends=('pkgconfig' 'intltool')
+install=$_pkgname.install
+source=(https://ftp.gnu.org/pub/gnu/$_pkgname/$_pkgname-${pkgver}.tar.gz{,.sig}
+ $_pkgname.desktop.in)
+md5sums=('45428121eb08db8472fc378dc93d171d'
+ 'SKIP'
+ '03272ac913cd91437912002c5a7e4fe5')
+
+build() {
+ cd "$srcdir"
+ sed "s|@toolkit@|GTK+${pkgver%%.*}|g" \
+ < gxmessage.desktop.in \
+ > gxmessage.desktop
+ 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/pcr/gxmessage2/gxmessage.desktop.in b/pcr/gxmessage2/gxmessage.desktop.in
new file mode 100644
index 000000000..4c65512b6
--- /dev/null
+++ b/pcr/gxmessage2/gxmessage.desktop.in
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Name=Gxmessage
+GenericName=gxmessage
+Comment=A @toolkit@ based xmessage clone.
+Comment[cs]=Klon xmessage postavený na knihovně @toolkit@.
+Icon=gxmessage
+Exec=gxmessage
+Terminal=false
+Categories=Utility;
diff --git a/pcr/gxmessage2/gxmessage.install b/pcr/gxmessage2/gxmessage.install
new file mode 100644
index 000000000..de3e0f510
--- /dev/null
+++ b/pcr/gxmessage2/gxmessage.install
@@ -0,0 +1,4 @@
+post_install() {
+ echo "Updating desktop and mime database ..."
+ update-desktop-database -q
+}