summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f734187d969a67ab3bbbe552c92f608fd1c1d956 (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
# Maintainer: Mansour Behabadi <mansour@oxplot.com>

pkgname=svglinkify-git
_pkgname=svglinkify
pkgver=r8.2a2f4bc
pkgrel=1
pkgdesc='Export inkscape SVGs to PDF while preserving hyperlinks.'
arch=('any')
url='https://github.com/oxplot/svglinkify'
license=('MIT')
depends=('qpdf>=11.1.1' 'inkscape>=1.2.1')
source=("git+https://github.com/oxplot/svglinkify.git")
sha512sums=('SKIP')

pkgver() {
  cd "${srcdir}/svglinkify"
  echo "r$(git rev-list --count HEAD).$(git describe --always)"
}

package()
{
  cd "${srcdir}/svglinkify"
  install -D svglinkify.py "${pkgdir}/usr/bin/svglinkify"
  install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}