blob: 41647dcf5d2b7362f14ebff53fbbd1a16418b331 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qt5-qttranslations
pkgver=5.2.1
pkgrel=0
pkgdesc="Qt5 - QtTranslations module"
url="http://qt-project.org/"
arch="noarch"
license="LGPLv2 with exceptions or GPLv3 with exceptions and GFDL"
depends=""
depends_dev=""
makedepends="$depends_dev qt5-qttools-dev"
install=""
subpackages=""
source="http://download.qt-project.org/official_releases/qt/${pkgver%.*}/$pkgver/submodules/qttranslations-opensource-src-$pkgver.tar.xz"
_builddir="$srcdir"/qttranslations-opensource-src-$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"
qmake && make || return 1
}
package() {
cd "$_builddir"
make install INSTALL_ROOT="$pkgdir" || return 1
}
md5sums="4adcd85471b39e1680b035f15ec9910b qttranslations-opensource-src-5.2.1.tar.xz"
sha256sums="9a93fddb9c98bd5c85c9644603f4326f4cc991004f40df5432dc811a6b59b4e6 qttranslations-opensource-src-5.2.1.tar.xz"
sha512sums="65cc9c9350a338b870143bfef6a3801c63b543fe103be3e44a8eb9bfa5c0bceebee1c6bd2705b41e982b095ecfded8f82a4f2952631180a65a90d8ee5674dbb1 qttranslations-opensource-src-5.2.1.tar.xz"
|