diff options
author | root <root@rshg054.dnsready.net> | 2013-08-20 02:15:20 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-20 02:15:20 -0700 |
commit | 1ae31a85e191bbf7313077b472a66d1c24af1f74 (patch) | |
tree | 91f021858c2e33e1a6633c12b80e54105fd7500b /extra/sqlite | |
parent | 26606f981048ee9efcda690b619d3c53501a7a58 (diff) |
Tue Aug 20 02:14:51 PDT 2013
Diffstat (limited to 'extra/sqlite')
-rw-r--r-- | extra/sqlite/PKGBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/sqlite/PKGBUILD b/extra/sqlite/PKGBUILD index 8c5a5dfec..a9fcae081 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') -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) @@ -50,8 +50,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() { @@ -63,6 +63,10 @@ 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}" } package_sqlite-doc() { |