app=libunique version=1.1.6 build=1sml homepage="https://wiki.gnome.org/Attic/LibUnique" download="https://download.gnome.org/sources/libunique/1.1/libunique-$version.tar.bz2" desc="Library for writing single instance applications" requires="gtk2 graphite2" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions applypatch $srcdir/libunique-1.1.6-G_CONST_RETURN.patch } build() { CFLAGS+=" -Wno-deprecated-declarations" \ CXXFLAGS="$CFLAGS" \ ./configure \ --prefix="" \ --enable-dbus=yes \ --with-x \ --enable-debug=no \ --disable-dependency-tracking \ --disable-maintainer-flags \ --enable-static=no \ $builddist make make install DESTDIR=$pkg cp COPYING $pkgdocs/ mkfinalpkg } sha512sums=" a675115244e9df0ea48add1f84b06ec33f3207773c91817e77b902a4dd8b01cdba1ad18ce00e4fa6a65adc2631b9cd1a33b4a426fb1b852a6d64c100e0b858f3 libunique-1.1.6.tar.lz b1df46be67911e2ddc8cb99f0dbf785121e1c4818f1327c03047d577a3ba2a845166c138873b4f5fde35682831cd099a88e28586db9b3db516facc851723bd7b libunique-1.1.6-G_CONST_RETURN.patch "