blob: 8dbf41a4d5d821765facfff729243643055222b9 (
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.1.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/5.1/$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="5ab0f6c326b9dc0a952cc496df2679aa qttranslations-opensource-src-5.1.1.tar.xz"
sha256sums="7466f5202997c120a5a05bee4d4b39774731d1acab09bcc8fd0724e1a5835c93 qttranslations-opensource-src-5.1.1.tar.xz"
sha512sums="e57450d4cd5e0c5a4a49a192840f50db757c20747d68aac139e5b9b669f06f72f311e0c10ad11d7ddc8d58de6c0797f2f89fca22c5e09f10b22af42e451439ed qttranslations-opensource-src-5.1.1.tar.xz"
|