summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1e60890293f54200dd920bdad59bb27f25df2651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>

pkgname=libduck1
pkgver=1.1.2
pkgrel=1
pkgdesc="A Daisy 2.02 parser API, libduck is a C library for parsing DTB (Digital Talking Book). Currently, only the Daisy 2.02 format is supported"
arch=('x86_64')
url='https://daisy.geexbox.org'
license=('GPL3' 'LGPL2.1')
depends=('libxml2')
makedepends=('tar')
source=("${pkgname}-${pkgver}.deb::https://daisy.geexbox.org/releases/libduck1_${pkgver}-1_amd64.deb")
sha256sums=('c9f3ee8d60655551571fb9c903e31bcb680c7b8c49d673b3c77d36fc7a2e6270')

package() {
  tar xvf data.tar.xz -C "${pkgdir}/"
  rm "${pkgdir}/usr/share/doc/libduck1/changelog.Debian.gz"
  rm "${pkgdir}/usr/share/doc/libduck1/copyright"
}