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

pkgname=pdftilecut
pkgver=0.5
pkgrel=1
pkgdesc="pdftilecut lets you sub-divide a PDF page(s) into smaller pages"
url="https://github.com/oxplot/pdftilecut"
arch=("x86_64")
license=("BSD")
makedepends=("go>=1.13" "git" "yasm" "cmake" "coreutils")
depends=()
source=("git+https://github.com/oxplot/pdftilecut#tag=v$pkgver")
sha512sums=('SKIP')

build() {
	cd "$pkgname"
  make
}

package() {
	cd "$pkgname"
	install -Dm755 bin/pdftilecut "$pkgdir/usr/bin/pdftilecut"
	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}