summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0d228fb0730d60b453ad29691d0493734d9dc94e (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
# Contributor: Pavel Borzenkov <pavel.borzenkov@gmail.com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Maintainer: Geballin - Guillaume Ballin <macniaque at free dot fr>

pkgname=tclxml
pkgver=3.3.1
pkgrel=1
pkgdesc="XML support for the Tcl scripting language"
url="https://github.com/flightaware/TclXML"
arch=('i686' 'x86_64')
license=('custom:BSD')
depends=('libxslt' 'bash')
optdepends=('tcl: technically not needed, but you want it if you want this package'
   'tcllib: technically not needed, but you want it if you want this package')
source=("https://github.com/flightaware/TclXML/archive/refs/tags/v$pkgver.tar.gz")
md5sums=('fb8106c41efcb5053389007851d2a237')

build() {
  cd $srcdir/TclXML-$pkgver
  ./configure --prefix=/usr
  make
}
package() {
  cd $srcdir/TclXML-$pkgver
  make DESTDIR=$pkgdir install
  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
  install -d $pkgdir/usr/share/doc/$pkgname
  cp -r doc/* $pkgdir/usr/share/doc/$pkgname
  rmdir $pkgdir/usr/bin
}