summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9c9599a68630637a96c15b2c34352c3b3a51b8e6 (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
# Maintainer: Willem Herremans <whpgf at scarlet dot be>
pkgname=pgintcl
pkgver=3.5.1
pkgrel=1
pkgdesc="A Tcl interface to PostgreSQL"
arch=('any')
url="http://sourceforge.net/projects/pgintcl"
license=('custom: essentially a BSD license')
groups=()
depends=('tcl>=8.4.4')
makedepends=()
optdepends=('postgresql>=8.3.0: for running a postgresql database server')
source=(http://downloads.sourceforge.net/pgintcl/$pkgver/$pkgname-$pkgver.tgz README.arch)
md5sums=('6272a61cdff5a39846d42af0f91afe6f'
         'd1a7075738c3dcb9993c2dacf3fa6695')

package() {
  cd $srcdir/$pkgname-$pkgver
  install -d $pkgdir/usr/lib/$pkgname
  install -d $pkgdir/usr/share/doc/$pkgname
  install -d $pkgdir/usr/share/licenses/$pkgname
  install --mode=644 pgin.tcl pkgIndex.tcl $pkgdir/usr/lib/$pkgname
  install --mode=644 COPYING $pkgdir/usr/share/licenses/$pkgname
  install --mode=644 INTERNALS NEWS README REFERENCE $pkgdir/usr/share/doc/$pkgname
  install --mode=644 $srcdir/README.arch $pkgdir/usr/share/doc/$pkgname
}