# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka setvar pkgname = 'pgexportdoc' setvar pkgver = '0.1.1' setvar pkgrel = '0' setvar pkgdesc = ""CLI tool for export XML, TEXT and BYTEA documents from PostgreSQL"" setvar url = ""https://github.com/okbob/pgexportdoc"" setvar arch = ""all"" setvar license = ""BSD"" setvar makedepends = ""libedit-dev libxml2-dev postgresql-dev"" setvar source = ""$pkgname-$pkgver.tar.gz::https://github.com/okbob/$pkgname/archive/$pkgver.tar.gz"" setvar builddir = ""$srcdir/$pkgname-$pkgver"" proc build { cd $builddir make } proc check { cd $builddir ./pgexportdoc -V } proc package { cd $builddir make DESTDIR="$pkgdir" install } setvar sha512sums = ""e3589e3a2fe7d77230160711e921908c417e693fd802ee1f803bd2738f38e334d3a3d8df47aa90153c729e6f7f45867c3864909ad609d79b99acfd2e8bf48f55 pgexportdoc-0.1.1.tar.gz""