blob: e2127b81a1e82f8b443c6c06d1ddbbdec1088dd0 (
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
28
29
30
31
|
# Maintainer: Max Harmathy <max.harmathy@web.de>
# Contributor: Caltlgin Stsodaat <contact@fossdaily.xyz>
pkgname='ptouch-print'
pkgver=1.5
pkgrel=2
pkgdesc="Command line tool to print labels on Brother P-Touch printers"
arch=('x86_64')
url='https://familie-radermacher.ch/dominic/projekte/ptouch-print/'
license=('GPL3')
depends=('gd' 'libusb')
makedepends=('git' 'cmake')
provides=("${pkgname}")
source=("git+https://familie-radermacher.ch/cgi/cgit/linux/${pkgname}.git#tag=v${pkgver}")
# NB: updpkgsums --> SKIP
sha256sums=('SKIP')
build() {
cd "${pkgname}"
mkdir -p build
cmake -B build -D CMAKE_BUILD_TYPE=Release
make -C build
}
package() {
install -Dm755 -t "${pkgdir}/usr/bin" "${pkgname}/build/ptouch-print"
install -Dm644 -t "${pkgdir}/usr/share/man/man1" "${pkgname}/${pkgname}.1"
install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${pkgname}/README"
}
# vim: ts=2 sw=2 et:
|