opt/libunique/Pkgfile

33 lines
821 B
Plaintext
Raw Normal View History

2010-12-17 11:31:06 +01:00
# Description: Unique is a library for writing single instance application
# URL: http://live.gnome.org/LibUnique
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Jose V Beneyto, sepen at crux dot nu
2015-01-06 21:38:27 +01:00
# Depends on: gtk3 xorg-libxdamage
2010-12-17 11:31:06 +01:00
name=libunique
version=1.1.6
release=4
source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.bz2 \
G_CONST_RETURN.patch)
2010-12-17 11:31:06 +01:00
build() {
cd $name-$version
2012-06-19 15:53:24 +02:00
patch -p1 -i $SRC/G_CONST_RETURN.patch
2010-12-17 11:31:06 +01:00
./configure --prefix=/usr \
--disable-dbus \
2010-12-17 11:31:06 +01:00
--disable-static \
--disable-debug \
2010-12-17 11:31:06 +01:00
--with-x
sed -i $(find . -type f -name Makefile) \
-e 's|aclocal-1.11|aclocal|g' \
-e 's|automake-1.11|automake|g'
2010-12-17 11:31:06 +01:00
make
make DESTDIR=$PKG install
2010-12-17 11:31:06 +01:00
rm -rf $PKG/usr/share/gtk-doc
}