diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 00000000000..8ab504e821d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by makepkg 4.2.1 +# Sun Apr 12 20:50:16 UTC 2015 +pkgbase = lib32-libsigc++ + pkgdesc = Libsigc++ implements a full callback system for use in widget libraries - V2 (32 bit) + pkgver = 2.4.1 + pkgrel = 1 + url = http://libsigc.sourceforge.net/ + arch = x86_64 + license = LGPL + makedepends = gcc-multilib + depends = libsigc++ + options = !libtool + options = !emptydirs + source = http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.4/libsigc++-2.4.1.tar.xz + sha256sums = 540443492a68e77e30db8d425f3c0b1299c825bf974d9bfc31ae7efafedc19ec + +pkgname = lib32-libsigc++ + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000000..61e8a04b1bd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Gicu Gorodenco <cyclopsihus 'at' gmail 'dot' com> +# Contributor: rafael ff1 (aka josephgbr) +_pkgbasename=libsigc++ +pkgname=lib32-$_pkgbasename +pkgver=2.4.1 +pkgrel=1 +pkgdesc="Libsigc++ implements a full callback system for use in widget libraries - V2 (32 bit)" +arch=('x86_64') +url="http://libsigc.sourceforge.net/" +license=('LGPL') +depends=("$_pkgbasename") +makedepends=('gcc-multilib') +options=(!libtool !emptydirs) +source=(http://ftp.gnome.org/pub/GNOME/sources/${_pkgbasename}/${pkgver:0:3}/${_pkgbasename}-${pkgver}.tar.xz) +sha256sums=('540443492a68e77e30db8d425f3c0b1299c825bf974d9bfc31ae7efafedc19ec') + +build() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + ./configure --prefix=/usr --libdir=/usr/lib32 CXX='g++ -m32' + make +} + +package() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile + make DESTDIR="${pkgdir}" install + rm -rf ${pkgdir}/usr/include +} |