summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8bc40f943cbe543d032d2955bca3abd8c4c0c1ce (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
26
27
28
29
# Maintainer:  <zhaose@Planet>
pkgname=codeblocks-i18n-zh_tw-git
pkgver=8.ad63533
pkgrel=1
epoch=
pkgdesc=""
arch=('any')
url="https://github.com/vongola12324/Code-Blocks-Traditional-Chinese"
license=()
groups=()
depends=('codeblocks')
makedepends=('git')
changelog=
source=("$pkgname"::'git+https://github.com/vongola12324/Code-Blocks-Traditional-Chinese.git')
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$pkgname"
  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
  cd "$srcdir/$pkgname"

  install -Dm644 "$srcdir/$pkgname/zh_TW.mo" "$pkgdir/usr/share/codeblocks/locale/zh_TW/CodeBlocks.mo"
  
}

# vim:set ts=2 sw=2 et: