blob: c8cbc7702fe91269a0ed3255e1ef329ad804234c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Andrew O'Neill <andrew at haunted dot sh>
# Contributor: Darren Ng <$(base64 --decode <<<'ZGFycmVuMTk5NzA4MTBAZ21haWwuY29tCg==')>
pkgname=pgtcl
_pkgname=Pgtcl
pkgver=3.1.0
pkgrel=1
pkgdesc='Tcl client side interface to PostgreSQL (libpgtcl)'
arch=('x86_64')
url="https://flightaware.github.io/${_pkgname}/"
license=('BSD-3-Clause')
depends=('postgresql' 'postgresql-libs' 'tcl')
conflicts=('pgtcl-ng')
provides=('libpgtcl')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/flightaware/${_pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('fded4aba99b84f4bc41abbaef8d7d0ba1ba6812e56a80689f98d22bd3ab98a23')
build() {
cd "${_pkgname}-${pkgver}"
autoreconf
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--with-tcl=/usr/lib/ \
--with-tclinclude=/usr/include/ \
--with-postgres-include=/usr/include/postgresql \
--with-postgres-lib=/usr/lib/postgresql \
--enable-64bit \
--enable-threads \
--enable-shared \
--disable-rpath
make
}
package() {
cd "${_pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|