diff options
author | John-Gee | 2023-07-07 07:05:03 -0700 |
---|---|---|
committer | John-Gee | 2023-07-07 07:05:03 -0700 |
commit | 7d57527b3d91314723914bada1f42c2a1a124cce (patch) | |
tree | 810276efcbaf7b97d4bfd8829262e51fda0e107c | |
parent | 7fee3236c4f092d0d561cfd774e5ea6244b0aa0c (diff) | |
download | aur-7d57527b3d91314723914bada1f42c2a1a124cce.tar.gz |
Fixed the packaging
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 8 insertions, 9 deletions
@@ -1,7 +1,7 @@ pkgbase = rangoli pkgdesc = Free, Open Source, Lightweight, Cross-platform Software for Royal Kludge Keyboards pkgver = 2.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/rnayabed/rangoli arch = x86_64 license = GPL3 @@ -1,7 +1,7 @@ # Maintainer: gee pkgname='rangoli' pkgver=2.0 -pkgrel=1 +pkgrel=2 pkgdesc='Free, Open Source, Lightweight, Cross-platform Software for Royal Kludge Keyboards' arch=('x86_64') url='https://github.com/rnayabed/rangoli' @@ -24,12 +24,11 @@ build() { } package() { - install -Dm 755 rangoli.sh "${pkgdir}/usr/bin/rangoli" + install -Dm 755 rangoli.sh "${pkgdir}/usr/bin/${pkgname}" - cd ${srcdir}/${pkgname}-${pkgver}/build/src - install -dm 755 "${pkgdir}/usr/share/${pkgname}" - install -Dm 755 rangoli "${pkgdir}/usr/share/${pkgname}/" - install -dm 755 "${pkgdir}/usr/share/${pkgname}/keyboards" - install -Dm 755 keyboards/*.* "${pkgdir}/usr/share/${pkgname}/keyboards/" - install -Dm 755 udev-rule-writer.sh "${pkgdir}/usr/share/${pkgname}/" + cd ${srcdir}/${pkgname}-${pkgver}/ + cmake --install build --prefix "${pkgdir}" + install -dm 755 "${pkgdir}/usr/share" + mv "${pkgdir}/bin" "${pkgdir}/usr/share/${pkgname}" + chmod +x "${pkgdir}/usr/share/rangoli/udev-rule-writer.sh" } |