summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ca5fbf12937e551984958b3285539393c38a1ee8 (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
# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>

pkgname='ptouch-print'
pkgver=1.4.2
pkgrel=1
pkgdesc="Command line tool to print labels on Brother P-Touch printers"
arch=('x86_64')
url='https://mockmoon-cybernetics.ch/computer/p-touch2430pc/'
license=('GPL2')
depends=('gd' 'libusb')
makedepends=('git')
provides=("${pkgname}")
source=("git+https://mockmoon-cybernetics.ch/cgi/cgit/linux/${pkgname}.git#tag=v${pkgver}")
sha256sums=('SKIP')

build() {
  cd "${pkgname}"
  autoreconf --install
  ./configure --prefix=/usr
  make
}

package() {
  make DESTDIR="${pkgdir}" -C "${pkgname}" install
  #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: