summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6ec4c0b4ef736c19976ab1f021de334b00e3e28a (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
# $Id$
# Maintainer: Realex
# Based on cinnamon-translations PKGBUILD

_pkgname=cinnamon-translations
pkgname=${_pkgname}-git
pkgver=42.5fbd600
pkgrel=1
pkgdesc="Translations for Cinnamon, Nemo, Cinnamon Control Center..."
arch=('any')
url="https://github.com/linuxmint/cinnamon-translations"
license=('GPL')
makedepends=('git')
conflicts=(${_pkgname})
provides=(${_pkgname})
source=("git://github.com/linuxmint/${_pkgname}.git")
sha256sums=('SKIP')

pkgver() {
  cd $_pkgname
  echo $(git rev-list --count master).$(git rev-parse --short master)
}

package() {
  cd ${srcdir}/${_pkgname}
  make
  cp -Rp usr/ ${pkgdir}/usr/
}