summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e0815ec0d9da051122e55f5b0ec9bbd6c61673b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Fabian Köhler <fabian.koehler@protonmail.ch>
# Contributor: Fabian Köhler <fabian.koehler@protonmail.ch>

pkgname=xp-pen
_pkgname=${pkgname}
pkgver=3.2.0.210824
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/08/XP-PEN-pentablet-${pkgver}-1.${CARCH}.tar.gz")
sha256sums=('24fa9e06432c383b7f75d897fc11786f7e851be17906150b30ae2856bea31bc8')

package() {
    cd "${srcdir}/${pkgname}-pentablet-${pkgver}-1.${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}/{}" \;
}