/
PKGBUILD
37 lines (30 loc) · 980 Bytes
/
PKGBUILD
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
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=ki18n6
_pkgname=ki18n
pkgver=${_kf6ver}
pkgrel=1
pkgdesc='Two libraries, one for Gettext-based text internationalization, and one for access to data about countries and timezones.'
arch=('x86_64')
url='https://invent.kde.org/frameworks/ki18n'
license=('LGPL')
depends=('qt6-declarative' 'iso-codes')
makedepends=('extra-cmake-modules')
groups=('kf6')
source=("https://download.kde.org/stable/frameworks/5.99/${_pkgname}-${pkgver}.tar.xz")
md5sums=(`grep ${_pkgname}-${_kf6ver}.tar.xz ../kf6.md5 | cut -d" " -f1`)
prepare () {
cd ${_pkgname}-${pkgver}
#patch -p1 -i ${srcdir}/97ce7535124aff6a576bc748260ce6fa4ab781d8.diff
}
build() {
cmake -B build -S ${_pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
cmake --build build
}
package() {
DESTDIR=${pkgdir} cmake --install build
}