[arch-commits] Commit in metakit/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Sat Apr 12 17:01:27 UTC 2014
Date: Saturday, April 12, 2014 @ 19:01:27
Author: arodseth
Revision: 109252
Refreshed the PKGBUILD. Build still fails, ref FS#39415.
Modified:
metakit/trunk/PKGBUILD
----------+
PKGBUILD | 41 ++++++++++++++++++++++-------------------
1 file changed, 22 insertions(+), 19 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-04-12 16:55:40 UTC (rev 109251)
+++ PKGBUILD 2014-04-12 17:01:27 UTC (rev 109252)
@@ -1,37 +1,40 @@
# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
pkgname=metakit
pkgver=2.4.9.7
-pkgrel=5
-pkgdesc='MetaKit is an efficient database library with a small footprint'
-arch=('i686' 'x86_64')
+pkgrel=6
+pkgdesc='Efficient embedded database library with a small footprint'
+arch=('x86_64' 'i686')
url='http://www.equi4.com/metakit/'
+license=('BSD')
makedepends=('tcl' 'python2')
-license=('BSD')
-source=("http://www.equi4.com/pub/mk/${pkgname}-${pkgver}.tar.gz")
-md5sums=('17330257376eea657827ed632ea62c9e')
+source=("http://www.equi4.com/pub/mk/$pkgname-$pkgver.tar.gz")
+sha256sums=('d1ba361d2d8517925cff5c23e8602822da9c8c347a75a15c225ec656ff7ca94d')
+prepare() {
+ cd "$pkgname-$pkgver/unix"
+
+ sed -i 's_"${prefix}/include/python2.5"_"${prefix}/include/python2.7"_' configure
+ sed -i 's_"${prefix}/lib/python2.5/site-packages"_"${prefix}/lib/python2.7/site-packages"_' configure
+}
+
build() {
- cd ${pkgname}-${pkgver}/builds
+ cd "$pkgname-$pkgver/unix"
- sed -i 's_"${prefix}/include/python2.5"_"${prefix}/include/python2.7"_' ../unix/configure
- sed -i 's_"${prefix}/lib/python2.5/site-packages"_"${prefix}/lib/python2.7/site-packages"_' ../unix/configure
-
- ../unix/configure \
+ ./configure \
--prefix=/usr \
--with-python \
--with-tcl=/usr/include
-
make
}
package() {
- cd ${pkgname}-${pkgver}/builds
+ install -d "$pkgdir/usr/lib/python2.7/site-packages"
+ make -C "$pkgname-$pkgver/builds" DESTDIR="$pkgdir" install
+ install -Dm644 "$srcdir/$pkgname-$pkgver/license.terms" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
- mkdir -p ${pkgdir}/usr/lib/python2.7/site-packages
-
- make DESTDIR=${pkgdir} install
-
- install -D -m644 ../license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list