summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c13632005a9..85d037956a9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,25 +2,24 @@
# Maintained at: https://github.com/matt-h/aur-pkgbuilds
pkgname=editorconfig-geany
-pkgver=0.1.1
+pkgver=0.2
pkgrel=1
pkgdesc="EditorConfig plugin for Geany"
arch=('x86_64' 'i686')
url="https://github.com/editorconfig/editorconfig-geany"
license=('GPL')
depends=('geany' 'editorconfig-core-c')
-_gitversion="ed7b2449c7ec3c903d56c2f5c4c66a094b9f10f8"
-source=("https://github.com/editorconfig/editorconfig-geany/archive/$_gitversion.tar.gz")
-sha256sums=('b00a6443166a93da6a0c647b82c357e33aa0ce387e5036ce69657b35ff7983c8')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/editorconfig/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('4b0c37eb534613e7454c1e068179db5b262cf9e5aa00681802787231e1b35edf')
build() {
- cd "$srcdir/$pkgname-$_gitversion/"
+ cd "$srcdir/${pkgname}-${pkgver}/"
make EDITORCONFIG_PREFIX=/usr
}
package() {
- install -Dm644 "$srcdir/$pkgname-$_gitversion/$pkgname.so" "$pkgdir/usr/lib/geany/$pkgname.so"
- install -Dm644 "$srcdir/$pkgname-$_gitversion/COPYING" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 "$srcdir/${pkgname}-${pkgver}/${pkgname}.so" "$pkgdir/usr/lib/geany/${pkgname}.so"
+ install -Dm644 "$srcdir/${pkgname}-${pkgver}/COPYING" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 et: