summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD23
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..75c6e904367
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = xp-pen
+ pkgdesc = Software for XP-PEN graphics tablets
+ pkgver = 3.1.0.210331
+ pkgrel = 1
+ url = https://www.xp-pen.com/download/index.html
+ arch = x86_64
+ license = unknown
+ provides = xp-pen
+ conflicts = xp-pen
+ conflicts = xp-pen-tablet
+ source = xp-pen-3.1.0.210331.tar.gz::https://download01.xp-pen.com/file/2021/04/xp-pen-pentablet_3.1.0.210331-1.x86_64.tar.gz
+ sha256sums = 9e50510d0f6afaad349e6182d6a275ad1527cc02ed90251620c38a37b0486d12
+
+pkgname = xp-pen
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..888b44b3167
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Fabian Köhler <fabian.koehler@protonmail.ch>
+# Contributor: Fabian Köhler <fabian.koehler@protonmail.ch>
+
+pkgname=xp-pen
+_pkgname=${pkgname}
+pkgver=3.1.0.210331
+pkgrel=1
+pkgdesc="Software for XP-PEN graphics tablets"
+arch=(x86_64)
+url="https://www.xp-pen.com/download/index.html"
+license=("unknown")
+depdends=("libxtst")
+provides=(${_pkgname})
+conflicts=(${_pkgname} xp-pen-tablet)
+source=("${pkgname}-${pkgver}.tar.gz::https://download01.xp-pen.com/file/2021/04/xp-pen-pentablet_${pkgver}-1.${CARCH}.tar.gz")
+sha256sums=('9e50510d0f6afaad349e6182d6a275ad1527cc02ed90251620c38a37b0486d12')
+
+package() {
+ cd "${srcdir}/${pkgname}-pentablet_${pkgver}.${CARCH}/App"
+
+ install -Dm 755 lib/udev/rules.d/10-xp-pen.rules ${pkgdir}/usr/lib/udev/rules.d/10-xp-pen.rules
+ find usr -type f -exec install -Dm 755 "{}" "${pkgdir}/{}" \;
+}