summaryrefslogtreecommitdiff
path: root/libunique/Pkgfile
blob: 098e85b6b5c1f9b45d8b1910fca53ea6891cbd32 (plain)
    1 # Description: Unique is a library for writing single instance application
    2 # URL: https://wiki.gnome.org/Attic/LibUnique
    3 # Maintainer: Jose V Beneyto, sepen at crux dot nu
    4 # Packager: Jose V Beneyto, sepen at crux dot nu
    5 # Depends on: gtk xorg-libxdamage
    6 
    7 name=libunique
    8 version=1.1.6
    9 release=4
   10 source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.bz2 \
   11         G_CONST_RETURN.patch)
   12 
   13 build() {
   14   cd $name-$version
   15 
   16   patch -p1 -i $SRC/G_CONST_RETURN.patch
   17 
   18   ./configure --prefix=/usr \
   19               --disable-dbus \
   20               --disable-static \
   21               --disable-debug \
   22               --with-x
   23 
   24   sed -i $(find . -type f -name Makefile) \
   25       -e 's|aclocal-1.11|aclocal|g' \
   26       -e 's|automake-1.11|automake|g'
   27 
   28   make
   29   make DESTDIR=$PKG install
   30 
   31   rm -rf $PKG/usr/share/gtk-doc
   32 }

Generated by cgit