diff options
author | Dan Elkouby | 2017-06-28 21:35:40 +0300 |
---|---|---|
committer | Dan Elkouby | 2017-06-28 21:35:40 +0300 |
commit | e7ab8717c4a3be37a0799831f8181a558a922ca3 (patch) | |
tree | 283767fb1580b04c9327596787f10eb874096b1d | |
parent | ca8a403e8f4fee09e37e6374db12151f8133eae1 (diff) | |
download | aur-e7ab8717c4a3be37a0799831f8181a558a922ca3.tar.gz |
v1.0
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | PKGBUILD | 14 |
3 files changed, 15 insertions, 11 deletions
@@ -1,18 +1,18 @@ # Generated by mksrcinfo v8 -# Sat Jan 14 11:53:12 UTC 2017 +# Wed Jun 28 18:35:29 UTC 2017 pkgbase = da2013ctl pkgdesc = Alternative to razercfg for the DeathAdder 2013 - pkgver = 0.1 + pkgver = 1.0 pkgrel = 1 url = https://github.com/Streetwalrus/da2013ctl install = da2013ctl.install arch = i686 arch = x86_64 license = MIT - makedepends = git + makedepends = cargo depends = libsystemd - source = https://github.com/Streetwalrus/da2013ctl/archive/v0.1.tar.gz - md5sums = 673bd61584953ef8c3241ae3ccfd389e + source = https://github.com/Streetwalrus/da2013ctl/archive/v1.0.tar.gz + md5sums = c00c106c364d258167557975638c120d pkgname = da2013ctl diff --git a/.gitignore b/.gitignore index 999d8cad7aca..4d673fdd7e7e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -*.pkg.tar.xz +*.pkg.tar* *.tar.gz src/ pkg/ @@ -1,25 +1,29 @@ # Maintainer: Streetwalrus <streetwalrus@codewalr.us> pkgname=da2013ctl -pkgver=0.1 +pkgver=1.0 pkgrel=1 pkgdesc="Alternative to razercfg for the DeathAdder 2013" arch=('i686' 'x86_64') url="https://github.com/Streetwalrus/da2013ctl" license=('MIT') depends=('libsystemd') -makedepends=('git') +makedepends=('cargo') source=("https://github.com/Streetwalrus/da2013ctl/archive/v$pkgver.tar.gz") -md5sums=('673bd61584953ef8c3241ae3ccfd389e') +md5sums=('c00c106c364d258167557975638c120d') install='da2013ctl.install' build() { cd "${srcdir}/da2013ctl-$pkgver" - make + cargo build --release } package() { cd "${srcdir}/da2013ctl-$pkgver" - make install ROOT="${pkgdir}" PREFIX="/usr" + cargo install --root ${pkgdir}/usr + rm ${pkgdir}/usr/.crates.toml + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -d ${pkgdir}/usr/lib/udev/rules.d + install -m644 50-da2013.rules ${pkgdir}/usr/lib/udev/rules.d } # vim:set ts=2 sw=2 et: |