summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bb63d2adeeef71bc6cf223fcc2260cf996b9322b (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
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=libdatovka
pkgver=0.1.0
pkgrel=1
pkgdesc="ISDS client library"
arch=('x86_64')
url="https://www.datovka.cz/cs/pages/libdatovka.html"
license=('LGPL')
depends=('libxml2' 'openssl' 'curl')
makedepends=('docbook-xsl')
source=(https://secure.nic.cz/files/datove_schranky/$pkgname/$pkgname-$pkgver.tar.xz)
sha256sums=('a3fd28ef44bdc52ded29ba0a556af0cde1155f7eedcb895d586a260bdc81d25e')

build() {
  cd "${srcdir}"/$pkgname-$pkgver

  ./configure --prefix=/usr \
    --with-docbook-xsl-stylesheets=/usr/share/xml/docbook/xsl-stylesheets-1.79.2
  make
}

package() {
  cd "${srcdir}"/$pkgname-$pkgver

  make DESTDIR="${pkgdir}" install
}