summaryrefslogtreecommitdiff
path: root/community/sqlite2/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/sqlite2/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/sqlite2/PKGBUILD')
-rw-r--r--community/sqlite2/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/sqlite2/PKGBUILD b/community/sqlite2/PKGBUILD
new file mode 100644
index 000000000..c6d6c27ef
--- /dev/null
+++ b/community/sqlite2/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 68015 2012-03-17 00:56:03Z giovanni $
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Judd <jvinet@zeroflux.org>
+
+pkgname=sqlite2
+pkgver=2.8.17
+pkgrel=5
+pkgdesc="A C library that implements an SQL database engine"
+arch=('i686' 'x86_64')
+url="http://www.sqlite.org/"
+depends=('readline>=6.0.00')
+source=("http://www.sqlite.org/sqlite-$pkgver.tar.gz"
+ 'LICENSE')
+license=('custom')
+options=('!libtool')
+md5sums=('838dbac20b56d2c4292e98848505a05b'
+ '5d3b333e59a37747284f66081660f8a1')
+
+build() {
+ cd ${srcdir}/sqlite-${pkgver}
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/sqlite-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+
+ # install custom license
+ install -Dm644 ${srcdir}/LICENSE \
+ ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}