diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-11-04 07:12:56 +0100 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-11-04 07:13:38 +0100 |
commit | 72e955726416f670d316f960a53023cf330d17ee (patch) | |
tree | c5ce353832c42163ef62e7df205f39ad23db34aa /ltunify | |
parent | a55258fe010cce9ca7917a6abb29b06cf23ab005 (diff) | |
download | archlinuxewe-72e955726416f670d316f960a53023cf330d17ee.tar.xz |
ltunify new
Diffstat (limited to 'ltunify')
-rw-r--r-- | ltunify/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/ltunify/PKGBUILD b/ltunify/PKGBUILD new file mode 100644 index 000000000..65b40fa16 --- /dev/null +++ b/ltunify/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> +# Contributor: Martchus <martchus@gmx.net> + +# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where +# you also find the URL of a binary repository. + +pkgname=ltunify +pkgver=0.3 +pkgrel=1 +pkgdesc='Tool for working with Logitech Unifying receivers and devices' +arch=('i686' 'x86_64') +url='https://lekensteyn.nl/logitech-unifying.html' +license=('unknown') +_pinned_dependencies=('glibc>=2.33') +depends=("${_pinned_dependencies[@]}") +makedepends=() +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Lekensteyn/${pkgname}/archive/v${pkgver}.tar.gz") +sha512sums=('f876de44b1b893bba2d8d44336f4936e639bd700d9dd22b46ef7ae11b731a6710c1154546272dd01c45d0e50d07c692c448c4be0b8d89d1e9772c3ed7575f626') + +build() { + cd "$srcdir/$pkgname-$pkgver" + make ltunify +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + install -Dm755 ltunify "$pkgdir/usr/bin/ltunify" + install -Dm644 udev/42-logitech-unify-permissions.rules "$pkgdir/usr/lib/udev/rules.d/42-ltunify-permissions.rules" +} + |