aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cinnamon-translations/APKBUILD
blob: 14ad5a82a672959656ab667df08374f0b6a69f71 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=cinnamon-translations
pkgver=2.0.3
pkgrel=0
pkgdesc="Translations for Cinnamon and Nemo"
url="http://cinnamon.linuxmint.com/"
arch="noarch"
license="GPL2"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/cinnamon-translations/archive/${pkgver}.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
}

package() {
	cd "$_builddir"
	mkdir -p "$pkgdir"/usr/share/cinnamon/locale/
	cp -r mo-export/* \
		"$pkgdir"/usr/share/cinnamon/locale/
}

md5sums="f3eac74f56adf99a32d6d2f2fd866bb3  cinnamon-translations-2.0.3.tar.gz"
sha256sums="ec75f7414714e9f4144ffc8bba863b50a5bc43f3b1add94846d7e58e42d8831f  cinnamon-translations-2.0.3.tar.gz"
sha512sums="fbbd40224d05640bf6c21fa01b44e937338a67adaa93cf9dba7c06e18078e2d90cc192292336b3c3a8c5e18a1be4bd0c8bae1b522f347bb34b02c307cf9d3c3e  cinnamon-translations-2.0.3.tar.gz"