summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 15 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7335c2d4f9bc..3e671df86b11 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,31 @@
# Maintainer: Evan Purkhiser <evanpurkhiser@gmail.com>
-_gitname=keyfinder-cli
-
pkgname=keyfinder-cli-git
-pkgver=34.65ffc11
-pkgrel=1
pkgdesc="A DJ friendly tool for estimating the musical key of an audio file"
-arch=('i686' 'x86_64')
license=('GPL3')
-url="https://github.com/EvanPurkhiser/${_gitname}"
-depends=(libkeyfinder-git ffmpeg)
-makedepends=(git boost)
-source=("git://github.com/EvanPurkhiser/${_gitname}")
+url="https://github.com/EvanPurkhiser/keyfinder-cli"
+pkgver=39.e8a20e7
+pkgrel=1
+
+source=("$pkgname::git://github.com/EvanPurkhiser/keyfinder-cli")
md5sums=('SKIP')
+depends=('libkeyfinder-git' 'ffmpeg')
+makedepends=('git' 'boost')
+arch=('i686' 'x86_64')
pkgver() {
- cd "${srcdir}/${_gitname}"
- echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+ cd "$srcdir/$pkgname"
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
- cd "${srcdir}/${_gitname}"
- make
+ cd "$srcdir/$pkgname"
+ make
}
package() {
- cd "${srcdir}/${_gitname}"
+ cd "$srcdir/$pkgname"
- make PREFIX=/usr DESTDIR="${pkgdir}" install
- install -Dm 644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ make PREFIX=/usr DESTDIR="${pkgdir}" install
+ install -Dm 644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}