mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 03:35:38 +03:00
posgresql switched to readline in 7db8fc9ee6
(main/postgresql: replace
libedit with readline, 2021-04-10).
Switch to readline to match postgresql.
29 lines
818 B
Text
29 lines
818 B
Text
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=pgimportdoc
|
|
pkgver=0.1.3
|
|
pkgrel=1
|
|
pkgdesc="CLI tool for import XML, TEXT and BYTEA documents to PostgreSQL"
|
|
url="https://github.com/okbob/pgimportdoc"
|
|
arch="all"
|
|
license="BSD-2-Clause"
|
|
makedepends="readline-dev libxml2-dev postgresql-dev zlib-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/okbob/$pkgname/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
make USE_PGXS=1 all
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
./pgimportdoc -V
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make USE_PGXS=1 DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="86da2296de6a6be7663dc40b8bd56c74b334830d97fb78e23e7dc9caf7c88303cd24958587db8afab29aafc7dcd7d131e64237fb675afb7e06ab7d8c66da0d40 pgimportdoc-0.1.3.tar.gz"
|