summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6740d0e24d61dcb6a3ba273770cdbed24cc44ddb (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
# Maintaoner: Yamada Hayao <hayao@fascode.net>

pkgname="alterlinux-medit-themes"
pkgver=r19.67f0543
pkgrel=1
pkgdesc="Medit themes for Alter Linux (Arc theme and Adapta theme)"
arch=('any')
url="https://github.com/FascodeNet/aptpac"
license=("custom")
depends=('medit')
makedepends=('git')
source=("git+https://github.com/FascodeNet/medit-themes")
md5sums=('SKIP')

pkgver() {
  cd "medit-themes"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    for file in "${srcdir}/medit-themes/"*.xml; do
        install -m 755 -D "${file}" "${pkgdir}/usr/share/medit-1/language-specs/$(basename ${file})"
    done
}