New Package: xp-pen-tablet
This commit is contained in:
parent
6c956a7847
commit
50f18be861
3 changed files with 60 additions and 0 deletions
|
@ -4151,3 +4151,14 @@ libcalamaresui.so.3.2.61 calamares-3.2.61_1
|
||||||
libvulkan.so.1 heroic-bin-2.4.3_1
|
libvulkan.so.1 heroic-bin-2.4.3_1
|
||||||
libvulkan.so.1 brave-bin-1.39.122_1
|
libvulkan.so.1 brave-bin-1.39.122_1
|
||||||
libxviewer.so xviewer-3.2.10_2
|
libxviewer.so xviewer-3.2.10_2
|
||||||
|
libQt5DBus.so.5 xp-pen-tablet-3.2.3.220323_1
|
||||||
|
libicuuc.so.56 xp-pen-tablet-3.2.3.220323_1
|
||||||
|
libQt5Network.so.5 xp-pen-tablet-3.2.3.220323_1
|
||||||
|
libQt5X11Extras.so.5 xp-pen-tablet-3.2.3.220323_1
|
||||||
|
libicui18n.so.56 xp-pen-tablet-3.2.3.220323_1
|
||||||
|
libQt5Widgets.so.5 xp-pen-tablet-3.2.3.220323_1
|
||||||
|
libQt5Gui.so.5 xp-pen-tablet-3.2.3.220323_1
|
||||||
|
libQt5Xml.so.5 xp-pen-tablet-3.2.3.220323_1
|
||||||
|
libQt5XcbQpa.so.5 xp-pen-tablet-3.2.3.220323_1
|
||||||
|
libicudata.so.56 xp-pen-tablet-3.2.3.220323_1
|
||||||
|
libQt5Core.so.5 xp-pen-tablet-3.2.3.220323_1
|
||||||
|
|
9
srcpkgs/xp-pen-tablet/INSTALL
Normal file
9
srcpkgs/xp-pen-tablet/INSTALL
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# INSTALL
|
||||||
|
|
||||||
|
case "$ACTION" in
|
||||||
|
post)
|
||||||
|
# Restore permissions for pentablet folder, as they must be r/w by all users. Otherwise, pentablet will not be able to save configurations.
|
||||||
|
chmod 777 -R /usr/lib/pentablet/
|
||||||
|
;;
|
||||||
|
|
||||||
|
esac
|
40
srcpkgs/xp-pen-tablet/template
Normal file
40
srcpkgs/xp-pen-tablet/template
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
# Template file for 'xp-pen-tablet'
|
||||||
|
pkgname=xp-pen-tablet
|
||||||
|
version=3.2.3.220323
|
||||||
|
revision=1
|
||||||
|
archs="x86_64"
|
||||||
|
create_wrksrc=yes
|
||||||
|
build_style=fetch
|
||||||
|
repository="cereus-extra"
|
||||||
|
nostrip=yes
|
||||||
|
hostmakedepends="tar xz"
|
||||||
|
short_desc="XP-Pen Official Linux utility"
|
||||||
|
maintainer="KF-Art <https://github.com/KF-Art>"
|
||||||
|
license="LGPL-3.0"
|
||||||
|
homepage="https://www.xp-pen.com/download/index.html"
|
||||||
|
distfiles="https://www.xp-pen.ru/download/file/id/1954/pid/143/ext/deb.html"
|
||||||
|
checksum=f162dbd236ced66ee759e788d8df9cc8289416263f786636c18d07f458b736c8
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
# Rename distfile.
|
||||||
|
mv deb.html XPPen-pentablet-${version}-1.x86_64.deb
|
||||||
|
|
||||||
|
# Extract distfile to DESTDIR.
|
||||||
|
ar x *.deb
|
||||||
|
tar -xf data.tar.xz -C ${DESTDIR}
|
||||||
|
cp -r ${DESTDIR}/lib/* ${DESTDIR}/usr/lib/
|
||||||
|
rm -r ${DESTDIR}/lib
|
||||||
|
|
||||||
|
# Fix icon permissions
|
||||||
|
chmod 644 ${DESTDIR}/usr/share/icons/pentablet.png
|
||||||
|
|
||||||
|
# Link to PATH.
|
||||||
|
vmkdir usr/bin
|
||||||
|
ln -rs ${DESTDIR}/usr/lib/pentablet/pentablet.sh ${DESTDIR}/usr/bin/pentablet
|
||||||
|
|
||||||
|
# Start in system tray by default.
|
||||||
|
sed -re 's/(^Exec=\/.+)/\1 \/mini/gi' -i ${DESTDIR}/etc/xdg/autostart/xppentablet.desktop
|
||||||
|
|
||||||
|
# Install license.
|
||||||
|
vlicense ${DESTDIR}/usr/lib/pentablet/LGPL
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue