diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-11-03 12:17:23 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-11-03 12:17:23 -0200 |
commit | 0fae4b1feb6c85c55a5ed48be4b357c1c95cc521 (patch) | |
tree | db6e0fa2d0a9650b74f2f6d4a3e477642f5c21ab | |
parent | 4708588870352f162407ed0ca13618ba15539997 (diff) | |
parent | bac55487f84eb029aaeae0e90bf9390f6321331d (diff) | |
download | abslibre-0fae4b1feb6c85c55a5ed48be4b357c1c95cc521.tar.gz abslibre-0fae4b1feb6c85c55a5ed48be4b357c1c95cc521.tar.bz2 abslibre-0fae4b1feb6c85c55a5ed48be4b357c1c95cc521.zip |
Merge branch 'master' of ssh://projects.parabola.nu/~git/abslibre
-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 +} |