diff options
author | Thomas Kuther | 2015-07-29 11:17:58 +0200 |
---|---|---|
committer | Thomas Kuther | 2015-07-29 11:17:58 +0200 |
commit | 7461735883bccc662756821048b70c1f2f686d81 (patch) | |
tree | f3df4fa95071b6a6c79fb9e17d34e296de472429 /PKGBUILD | |
download | aur-7461735883bccc662756821048b70c1f2f686d81.tar.gz |
initial checkin to aur4
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c808cd52b6dc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Tom Kuther tom@kuther.net> +pkgname=sony-gpsassist-update-git +_gitname=sony-gpsassist-update +pkgver=10.e0a5c18 +pkgrel=1 +pkgdesc="Auto-update GPS_A data for Sony Alpha cameras" +arch=('i686' 'x86_64') +url="https://github.com/gimpel/sony-gpsassist-update" +license=('GPL') +makedepends=('git') +backup=('etc/sony-gpsassist-update.cfg') +source=("${_gitname}::git+https://github.com/gimpel/sony-gpsassist-update.git") +md5sums=('SKIP') + +pkgver() { + cd $_gitname + printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$_gitname" + DESTDIR="$pkgdir/" ./install.sh +} + +# vim:set ts=2 sw=2 et: |