summaryrefslogtreecommitdiff
path: root/extra/sqlite/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/sqlite/PKGBUILD')
-rw-r--r--extra/sqlite/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/sqlite/PKGBUILD b/extra/sqlite/PKGBUILD
index 8a2413b2f..4a0017af7 100644
--- a/extra/sqlite/PKGBUILD
+++ b/extra/sqlite/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 186040 2013-05-20 18:16:41Z andyrtr $
+# $Id: PKGBUILD 193396 2013-08-19 16:20:40Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
@@ -8,10 +8,10 @@ _amalgamationver=3071700
_docver=${_amalgamationver}
#_docver=3071601
pkgver=3.7.17
-pkgrel=1
+pkgrel=2
pkgdesc="A C library that implements an SQL database engine"
arch=('i686' 'x86_64' 'mips64el')
-license=('custom')
+license=('custom:Public Domain')
url="http://www.sqlite.org/"
makedepends=('tcl' 'readline')
source=( # tarball containing the amalgamation for SQLite >= 3.7.5 together with a configure script and makefile for building it; includes now also the Tcl Extension Architecture (TEA)
@@ -48,8 +48,8 @@ package_sqlite() {
cd ${srcdir}/sqlite-autoconf-$_amalgamationver
make DESTDIR=${pkgdir} install
- # license
- install -D -m644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
+ # license - no linking required because pkgbase=pkgname
+ install -D -m644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgbase}/license.txt
}
package_sqlite-tcl() {
@@ -61,4 +61,8 @@ package_sqlite-tcl() {
cd ${srcdir}/sqlite-autoconf-$_amalgamationver/tea
make DESTDIR=${pkgdir} install
+
+ # link license
+ install -m755 -d ${pkgdir}/usr/share/licenses
+ ln -sf /usr/share/licenses/${pkgbase} "${pkgdir}/usr/share/licenses/${pkgname}"
}