diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/gxmessage2/PKGBUILD | 41 | ||||
-rw-r--r-- | pcr/gxmessage2/gxmessage.desktop.in | 10 | ||||
-rw-r--r-- | pcr/gxmessage2/gxmessage.install | 4 |
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 +} |