diff options
author | Tasos Sahanidis | 2022-05-03 18:53:00 +0300 |
---|---|---|
committer | Tasos Sahanidis | 2022-05-03 18:53:00 +0300 |
commit | df80e48444099bcf9640e175edbc7d9bc4ca5142 (patch) | |
tree | dc4079af577c65dc2b68c8b61bef7c6a7e660cab | |
parent | e5f6635fdd5076679e61128c5c8fb90bbb675ad8 (diff) | |
download | aur-df80e48444099bcf9640e175edbc7d9bc4ca5142.tar.gz |
Add wrapper
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 17 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = ckb-next pkgdesc = Corsair Keyboard and Mouse Input Driver, release version pkgver = 0.4.4 - pkgrel = 4 + pkgrel = 5 url = https://github.com/ckb-next/ckb-next install = ckb-next.install arch = i686 @@ -17,6 +17,8 @@ pkgbase = ckb-next depends = xcb-util-wm depends = qt5-x11extras depends = libdbusmenu-qt5 + depends = python3 + depends = python-pyqt5 optdepends = libpulse provides = ckb-next conflicts = ckb-git @@ -25,9 +27,10 @@ pkgbase = ckb-next source = https://github.com/ckb-next/ckb-next/archive/v0.4.4.tar.gz source = dc4dc54c5ebac7e4b455d8df35076fc044a581a7.patch source = c2c12fc981458ca59d515dc5d9c007ea78f141ef.patch + source = AUR-wrapper::git+https://github.com/ckb-next/AUR-wrapper.git sha256sums = 6946bd035cdbbbd2f139e543d2ca84ba422176c62c3a3665b544118dc6d618d0 sha256sums = ca662407404a0b22c3f2706f729717ab73575101247689ce80b7528fea0de87e sha256sums = 97d56be2873f61d54518e4fa8fdc429ca48a8c5b53ed907ec9abdb08a3bbad0b + sha256sums = SKIP pkgname = ckb-next - @@ -2,12 +2,12 @@ # Contributor: Light2Yellow <oleksii.vilchanskyi@gmail.com> pkgname=ckb-next pkgver=0.4.4 -pkgrel=4 +pkgrel=5 pkgdesc="Corsair Keyboard and Mouse Input Driver, release version" arch=('i686' 'x86_64') url="https://github.com/ckb-next/ckb-next" license=('GPL2') -depends=('qt5-base' 'hicolor-icon-theme' 'quazip-qt5' 'qt5-tools' 'libxcb' 'xcb-util-wm' 'qt5-x11extras' 'libdbusmenu-qt5') +depends=('qt5-base' 'hicolor-icon-theme' 'quazip-qt5' 'qt5-tools' 'libxcb' 'xcb-util-wm' 'qt5-x11extras' 'libdbusmenu-qt5' 'python3' 'python-pyqt5') makedepends=('git' 'cmake') optdepends=('libpulse') conflicts=('ckb-git' 'ckb-git-latest' 'ckb-next-git') @@ -15,10 +15,12 @@ provides=('ckb-next') install=ckb-next.install source=("https://github.com/ckb-next/$pkgname/archive/v$pkgver.tar.gz" 'dc4dc54c5ebac7e4b455d8df35076fc044a581a7.patch' - 'c2c12fc981458ca59d515dc5d9c007ea78f141ef.patch') + 'c2c12fc981458ca59d515dc5d9c007ea78f141ef.patch' + 'AUR-wrapper::git+https://github.com/ckb-next/AUR-wrapper.git') sha256sums=('6946bd035cdbbbd2f139e543d2ca84ba422176c62c3a3665b544118dc6d618d0' 'ca662407404a0b22c3f2706f729717ab73575101247689ce80b7528fea0de87e' - '97d56be2873f61d54518e4fa8fdc429ca48a8c5b53ed907ec9abdb08a3bbad0b') + '97d56be2873f61d54518e4fa8fdc429ca48a8c5b53ed907ec9abdb08a3bbad0b' + 'SKIP') build() { cd "$srcdir/${pkgname}-${pkgver}" @@ -44,4 +46,10 @@ package() { cd "$srcdir/${pkgname}-${pkgver}" DESTDIR="$pkgdir" cmake --build build --target install + + # Rename the real binary and add the wrapper + mv "$pkgdir/usr/bin/ckb-next" "$pkgdir/usr/bin/ckb-next.real" + + cd "$srcdir/AUR-wrapper" + install -Dm755 AUR_wrapper.py "$pkgdir/usr/bin/ckb-next" } |