summaryrefslogtreecommitdiff
path: root/libunique/Pkgfile
blob: a41a0d8642915b7993ff15c1a7e20f883796ad10 (plain)
    1 # Description: Unique is a library for writing single instance application
    2 # URL: http://live.gnome.org/LibUnique
    3 # Maintainer: Jose V Beneyto, sepen at crux dot nu
    4 # Packager: Jose V Beneyto, sepen at crux dot nu
    5 # Depends on: gtk3 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