summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bd4c08b8a572ff1c30321d9da93bf4de9e2556b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: RedTide <redtid3 at gmail com>

_pkgname=editorconfig-geany
pkgname=geany-plugin-editorconfig
pkgver=1.34
pkgrel=1
pkgdesc="EditorConfig plugin for Geany"
arch=('x86_64' 'i686')
url="https://github.com/redtide/$pkgname"
license=('GPL')
depends=("geany>=$pkgver" 'editorconfig-core-c')
source=(
    "$pkgname"::"git+https://github.com/redtide/$pkgname"
)
md5sums=(
    'SKIP'
)
build() {
  cd "$srcdir/$pkgname/"
  make EDITORCONFIG_PREFIX=/usr
}
package() {
  install -Dm644 "$srcdir/$pkgname/$_pkgname.so" "$pkgdir/usr/lib/geany/$_pkgname.so"
  install -Dm644 "$srcdir/$pkgname/COPYING" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}