diff options
author | Francisco Lopes | 2017-07-25 19:59:25 -0300 |
---|---|---|
committer | Francisco Lopes | 2017-07-25 19:59:25 -0300 |
commit | 63e91c2012808c51c2ed485093aff2a28d1fe4b8 (patch) | |
tree | 6d77b20d215af2a4867eefd1729ebf3670abb7b8 | |
download | aur-63e91c2012808c51c2ed485093aff2a28d1fe4b8.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..161685b26677 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = interception-caps2esc + pkgdesc = caps2esc: transforming the most useless key ever in the most useful one + pkgver = 0.1.0 + pkgrel = 1 + url = https://gitlab.com/interception/linux/plugins/caps2esc + arch = i686 + arch = x86_64 + license = MIT + makedepends = cmake + makedepends = gcc + depends = interception-tools + conflicts = caps2esc + source = https://gitlab.com/interception/linux/plugins/caps2esc/repository/archive.tar.gz?ref=v0.1.0 + md5sums = a493a0c2a3ca056998e8eb0fd77f6a93 + +pkgname = interception-caps2esc + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c9ed6eb6ba52 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Francisco Lopes <francisco@oblita.com> +pkgname=interception-caps2esc +pkgver=0.1.0 +pkgrel=1 +pkgdesc='caps2esc: transforming the most useless key ever in the most useful one' +arch=('i686' 'x86_64') +license=('MIT') +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}") +md5sums=('a493a0c2a3ca056998e8eb0fd77f6a93') + +build() { + cd ${srcdir}/caps2esc-v${pkgver}-* + cmake -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd ${srcdir}/caps2esc-v${pkgver}-* + + mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}" + install -m 444 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}" + + make install +} |