diff options
Diffstat (limited to 'community/glipper-old/PKGBUILD')
-rw-r--r-- | community/glipper-old/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community/glipper-old/PKGBUILD b/community/glipper-old/PKGBUILD new file mode 100644 index 000000000..f1b00c666 --- /dev/null +++ b/community/glipper-old/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 8877 2010-01-22 03:13:44Z dgriffiths $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Pbl Gomez <pblgomez@gmail.com> + +pkgname=glipper-old +pkgver=0.95.1 +pkgrel=3 +pkgdesc="Gnome clipboard for nongnome desktop" +arch=('i686' 'x86_64') +url="http://sourceforge.net/projects/glipper/" +license=("GPL") +depends=(libgnome libglade) +makedepends=(pkgconfig perlxml gnome-doc-utils) +source=(http://downloads.sourceforge.net/sourceforge/glipper/glipper-$pkgver.tar.gz \ + arch.patch) +md5sums=('aa6524f59342d72fee8bed36e6267746' + 'e9e9581330bbc1fe0a28fa349de02bda') + +build() { + cd $startdir/src/glipper-$pkgver + + ln -s -f /usr/share/aclocal/gnome-doc-utils.m4 m4/gnome-doc-utils.m4 + ln -s -f /usr/share/gnome-doc-utils/gnome-doc-utils.make gnome-doc-utils.make + + patch -Np1 <../arch.patch && \ + mv data/glipper.png data/glipper-old.png && \ + mv help/C/glipper.xml help/C/glipper-old.xml && \ + mv data/glipper-properties.glade data/glipper-old-properties.glade && \ + mv data/glipper.desktop.in data/glipper-old.desktop.in || return 1 + + ./configure --prefix=/usr --program-suffix=-old --disable-gnome || return 1 + make || return 1 + make DESTDIR=$startdir/pkg install || return 1 + rm -rf $startdir/pkg/usr/share/gnome +} |