mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 00:14:09 -04:00
Add in Manjaro PKGBUILD support.
This commit is contained in:
parent
5dd39e4eee
commit
88af73ade3
13
Makefile
13
Makefile
@ -15,9 +15,22 @@ $(warning Building on ${DISTRO})
|
||||
|
||||
all: ${DISTRO}
|
||||
|
||||
clean: ${DISTRO}-clean
|
||||
|
||||
install: ${DISTRO}-install
|
||||
|
||||
manjaro:
|
||||
makepkg
|
||||
|
||||
manjaro-clean:
|
||||
rm -f g13gui-git-*-any.pkg.tar.zst
|
||||
rm -rf g13gui-git/
|
||||
rm -rf pkg/
|
||||
rm -rf src/
|
||||
|
||||
manjaro-install:
|
||||
makepkg -i
|
||||
|
||||
debian:
|
||||
export GITBRANCH=master
|
||||
debuild
|
||||
|
32
PKGBUILD
Normal file
32
PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
# Maintainer: June Tate-Gans <june@theonelab.com>
|
||||
|
||||
pkgbase="g13gui"
|
||||
pkgname="g13gui-git"
|
||||
pkgver=5dd39e4
|
||||
pkgrel=1
|
||||
pkgdesc="A user-space driver and GUI configurator for the Logitech G13"
|
||||
arch=('any')
|
||||
url="https://github.com/jtgans/g13gui"
|
||||
license=('unknown')
|
||||
depends=('python' 'python-evdev' 'python-pyusb')
|
||||
makedepends=('git' 'meson')
|
||||
source=("${pkgname}::git+http://github.com/jtgans/g13gui.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}"
|
||||
git rev-parse --short HEAD
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}"
|
||||
git checkout master
|
||||
}
|
||||
|
||||
build() {
|
||||
arch-meson "${srcdir}/${pkgname}" build
|
||||
}
|
||||
|
||||
package() {
|
||||
meson install -C build --destdir "${pkgdir}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user