summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD29
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8f6bcda6a93
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = ptouch-print
+ pkgdesc = Command line tool to print labels on Brother P-Touch printers
+ pkgver = 1.4.2
+ pkgrel = 1
+ url = https://mockmoon-cybernetics.ch/computer/p-touch2430pc/
+ arch = x86_64
+ license = GPL2
+ makedepends = autoconf
+ makedepends = git
+ depends = gd
+ depends = libusb
+ provides = ptouch-print
+ source = git+https://mockmoon-cybernetics.ch/cgi/cgit/linux/ptouch-print.git#tag=v1.4.2
+ sha256sums = SKIP
+
+pkgname = ptouch-print
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e499704663f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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=('autoconf' '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: