diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 8 insertions, 11 deletions
@@ -1,7 +1,7 @@ pkgbase = interception-caps2esc pkgdesc = caps2esc: transforming the most useless key ever in the most useful one pkgver = 0.1.3 - pkgrel = 1 + pkgrel = 2 url = https://gitlab.com/interception/linux/plugins/caps2esc arch = x86_64 license = MIT @@ -9,7 +9,7 @@ pkgbase = interception-caps2esc makedepends = gcc depends = interception-tools conflicts = caps2esc - source = https://gitlab.com/interception/linux/plugins/caps2esc/repository/archive.tar.gz?ref=v0.1.3 + source = interception-caps2esc.tar.gz::https://gitlab.com/interception/linux/plugins/caps2esc/repository/archive.tar.gz?ref=v0.1.3 md5sums = 014e1b3fcd7fd889aab876f22d550eb8 pkgname = interception-caps2esc @@ -1,7 +1,7 @@ # Maintainer: Francisco Lopes <francisco@oblita.com> pkgname=interception-caps2esc pkgver=0.1.3 -pkgrel=1 +pkgrel=2 pkgdesc='caps2esc: transforming the most useless key ever in the most useful one' arch=('x86_64') license=('MIT') @@ -9,20 +9,17 @@ url='https://gitlab.com/interception/linux/plugins/caps2esc' depends=('interception-tools') makedepends=('cmake' 'gcc') conflicts=('caps2esc') -source=("https://gitlab.com/interception/linux/plugins/caps2esc/repository/archive.tar.gz?ref=v${pkgver}") +source=("$pkgname.tar.gz::https://gitlab.com/interception/linux/plugins/caps2esc/repository/archive.tar.gz?ref=v${pkgver}") md5sums=('014e1b3fcd7fd889aab876f22d550eb8') build() { cd ${srcdir}/caps2esc-v${pkgver}-* - cmake -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" -DCMAKE_BUILD_TYPE=Release - make + cmake -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release + cmake --build build } package() { - cd ${srcdir}/caps2esc-v${pkgver}-* - - mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}" - install -m 444 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}" + cd ${srcdir}/caps2esc-v${pkgver}-*/build - make install + make DESTDIR="$pkgdir/" install } |