diff options
author | Mario Finelli | 2015-06-10 07:55:08 -0400 |
---|---|---|
committer | Mario Finelli | 2015-06-10 07:55:08 -0400 |
commit | 1f9e3680bd86f3c6c8e4aca942116f4bc4b9c2da (patch) | |
tree | a84fd5fbea700b9a631f7764049c3926f4311585 /PKGBUILD | |
download | aur-1f9e3680bd86f3c6c8e4aca942116f4bc4b9c2da.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9121010d21eb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Mario Finelli <mario dot finelli at yahoo dot com> + +pkgname=ndsplus-git +pkgver=r8.93f517c +pkgrel=2 +pkgdesc="Linux support for the EMS NDS Adapter+." +arch=('i686' 'x86_64') +url="https://github.com/Thulinma/ndsplus" +license=('GPL') +depends=('pkg-config' 'libusb') +makedepends=('git') +provides=('ndsplus') +conflicts=('ndsplus') +source=('git://github.com/Thulinma/ndsplus.git' + 'ndsadapterplus.rules') +sha256sums=('SKIP' + '03fa9595fbb440bc4d78df2f4655eddb0ad29bc2f2860f2e0dd701a14601c9ac') + +pkgver() { + cd "$srcdir/ndsplus" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build(){ + cd "$srcdir/ndsplus" + make +} + +package(){ + cd "$srcdir" + install -Dm0644 ndsadapterplus.rules "$pkgdir"/etc/udev/rules.d/ndsadapterplus.rules + cd "ndsplus" + install -Dm0755 ndsplus "$pkgdir"/usr/bin/ndsplus +} |