diff options
author | Chris Severance | 2015-07-06 20:49:18 -0400 |
---|---|---|
committer | Chris Severance | 2015-07-06 20:49:18 -0400 |
commit | 14726fa8baf2b1a5f6bdac9a8e1589a4bfd5b846 (patch) | |
tree | 994bc1a9fb0aea02674f6107e3afc1a084843ee0 /PKGBUILD | |
download | aur-pear-mdb2.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7ed214898fb3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com +# Contributor: DJ Lucas <dj_AT_linuxfromscratch_DOT_org> +# Category: lib + +set -u +pkgname='pear-mdb2' +_pkgnick='MDB2' +pkgver='2.5.0b5' +pkgrel=1 +pkgdesc='Provides a class to create MIME messages.' +arch=('any') +url="http://pear.php.net/package/${_pkgnick}" +license=('BSD') +depends=('php>=4.3.0') +makedepends=('php-pear>=1.6.0') +options=('!strip') +noextract=("${_pkgnick}-${pkgver}.tgz") +source=("http://download.pear.php.net/package/${_pkgnick}-${pkgver}.tgz") +sha256sums=('c4ab3cf8cea4aacff02d729998b0ac80b4f92c2cc8055956079b323a406d985b') + +package() { + set -u + cd "${srcdir}" + local _PEARDIR="${pkgdir}/usr/share/pear" + local _PEAROPTS="-D php_dir=${_PEARDIR} -D doc_dir=${_PEARDIR}/doc" + local _PEAROPTS="${_PEAROPTS} -D test_dir=${_PEARDIR}/test" + local _PEAROPTS="${_PEAROPTS} -D data_dir=${_PEARDIR}/data" + pear ${_PEAROPTS} install -O -n "${_pkgnick}-${pkgver}.tgz" + rm -r "${_PEARDIR}"/{.channels,.depdb*,.filemap,.lock,.registry} + set +u +} +set +u |