diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-10-31 13:45:10 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-10-31 13:45:10 -0300 |
commit | 97a832ff546d30bb6eec34f23fd94aecab9ac738 (patch) | |
tree | 90bbef126bf86efce995dfa00dadd9707baa8222 /staging | |
parent | 9879fa51372849ca7b637a1c22010584ca552274 (diff) | |
parent | f935ebf41c626e4832f86c5f3f7ed1cc35128f6b (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/egoboo/PKGBUILD
extra/gnutls/PKGBUILD
extra/kdelibs/PKGBUILD
extra/maxima/PKGBUILD
extra/phonon/PKGBUILD
extra/rest/PKGBUILD
extra/ristretto/PKGBUILD
extra/samba/PKGBUILD
extra/sbcl/PKGBUILD
extra/xfce4-clipman-plugin/PKGBUILD
extra/xfce4-notifyd/PKGBUILD
libre/linux-libre/PKGBUILD
Diffstat (limited to 'staging')
-rw-r--r-- | staging/graphite/PKGBUILD | 39 | ||||
-rw-r--r-- | staging/graphite/pango-graphite.install | 12 | ||||
-rw-r--r-- | staging/sip/PKGBUILD | 55 |
3 files changed, 106 insertions, 0 deletions
diff --git a/staging/graphite/PKGBUILD b/staging/graphite/PKGBUILD new file mode 100644 index 000000000..12cab4e69 --- /dev/null +++ b/staging/graphite/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 141287 2011-10-28 05:35:50Z andyrtr $ +# Maintainer: AndyRTR <andyrtr@archlinux.org> + +pkgname=graphite +pkgver=1.0.3 +pkgrel=1 +epoch=1 +arch=('i686' 'x86_64') +url="http://graphite.sil.org/" +pkgdesc='reimplementation of the SIL Graphite text processing engine' +license=('custom_SIL Dual license') +depends=('gcc-libs') +makedepends=('cmake' 'freetype2') +options=('!libtool' '!emptydirs') +source=("http://downloads.sourceforge.net/project/silgraphite/graphite2/graphite2-${pkgver}.tgz") +md5sums=('3bf481ca95109b14435125c0dd1f2217') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake -G "Unix Makefiles" ../graphite2-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +check() { + cd "${srcdir}"/build + ctest +} + +package() { + cd "${srcdir}"/build + make DESTDIR="$pkgdir/" install + + # licenses + mkdir -p "${pkgdir}"/usr/share/licenses/${pkgname} + install -m644 "${srcdir}"/graphite2-${pkgver}/COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/ +} diff --git a/staging/graphite/pango-graphite.install b/staging/graphite/pango-graphite.install new file mode 100644 index 000000000..46bc44611 --- /dev/null +++ b/staging/graphite/pango-graphite.install @@ -0,0 +1,12 @@ +post_install() { + usr/bin/pango-querymodules >etc/pango/pango.modules +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + post_install $1 +} + diff --git a/staging/sip/PKGBUILD b/staging/sip/PKGBUILD new file mode 100644 index 000000000..45dd8e751 --- /dev/null +++ b/staging/sip/PKGBUILD @@ -0,0 +1,55 @@ +# $Id: PKGBUILD 141364 2011-10-30 02:28:27Z andrea $ +# Maintainer: +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Douglas Soares de Andrade <douglas@archlinux.org> +# Contributor: riai <riai@bigfoot.com>, Ben <ben@benmazer.net> + +pkgbase=sip +pkgname=('sip' 'python2-sip') +pkgver=4.13 +pkgrel=1 +arch=('i686' 'x86_64') +url="http://www.riverbankcomputing.com/software/sip/" +license=('custom:"sip"') +makedepends=('python' 'python2') +source=("http://www.riverbankcomputing.com/static/Downloads/sip4/${pkgbase}-${pkgver}.tar.gz") +md5sums=('21b4e2cad56e4156df2220143264b8ff') + +build() { + cd "${srcdir}" + cp -r ${pkgbase}-${pkgver} python2-${pkgbase}-${pkgver} + + cd "${srcdir}/${pkgbase}-${pkgver}" + python configure.py CFLAGS="${CFLAGS}" LFLAGS="${LDFLAGS}" + make + + ### Python2 version ### + cd "${srcdir}/python2-${pkgbase}-${pkgver}" + python2 configure.py CFLAGS="${CFLAGS}" LFLAGS="${LDFLAGS}" + make +} + +package_sip() { + pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" + depends=('python') + replaces=('python-sip') + provides=('python-sip') + + cd "${srcdir}/${pkgbase}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +package_python2-sip() { + pkgdesc="A tool that makes it easy to create Python2 bindings for C and C++ libraries" + depends=('sip' 'python2') + + cd "${srcdir}/python2-${pkgbase}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + # Provided by sip + rm "${pkgdir}/usr/bin/sip" +} |