diff options
author | Peter | 2016-07-12 22:26:08 +0200 |
---|---|---|
committer | Peter | 2016-07-12 22:26:08 +0200 |
commit | e12781ac0d1767dab4ca34e88c778f7152d9b751 (patch) | |
tree | 3ad2c1803216ad03321d2da7d0e8b67d0b2f2520 | |
download | aur-e12781ac0d1767dab4ca34e88c778f7152d9b751.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 45 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c03a2dc170ce --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = pktriggercord + pkgdesc = Remote control (tethering) Linux (x86, arm), Windows, Android software for Pentax DSLR cameras. + pkgver = 0.84.00 + pkgrel = 1 + url = http://pktriggercord.melda.info/ + arch = i686 + arch = x86_64 + license = LGPL + source = https://github.com/asalamon74/pktriggercord/releases/download/v0.84.00/pkTriggerCord-0.84.00.src.tar.gz + md5sums = f2637dc688380dda2793d7fe8de4de6f + +pkgname = pktriggercord + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..196d26909931 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Peter <craven@gmx.net> +pkgname=pktriggercord +pkgver=0.84.00 +pkgrel=1 +epoch= +pkgdesc="Remote control (tethering) Linux (x86, arm), Windows, Android software for Pentax DSLR cameras." +arch=(i686 x86_64) +url="http://pktriggercord.melda.info/" +license=('LGPL') +groups=() +depends=() +makedepends=() +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("https://github.com/asalamon74/$pkgname/releases/download/v$pkgver/pkTriggerCord-$pkgver.src.tar.gz") +md5sums=('f2637dc688380dda2793d7fe8de4de6f') +noextract=() +validpgpkeys=() + +prepare() { + cd "$pkgname-$pkgver" + sed -i 's|PREFIX ?=.*|PREFIX = /usr|' Makefile +} + +build() { + cd "$pkgname-$pkgver" + make LDFLAGS=-lm PREFIX=/usr +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} |