blob: 41433e7cdcbdc781bb52131080d7393b92a52f9b (
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
|
# Maintainer: Stanislav Vasilev <contact@i-use-gentoo-btw.com>
PKG_REAL_NAME="UntitledI18N"
pkgname=untitled-i18n
pkgver=1.5.0.0
pkgrel=2
pkgdesc="Next generation C/C++ internationalisation library"
url="https://github.com/MadLadSquad/${PKG_REAL_NAME}"
arch=(x86_64 aarch64)
license=('MIT')
depends=("gcc-libs" "glibc" "pkgconf" "yaml-cpp")
provides=("lib${PKG_REAL_NAME}.so")
makedepends=("cmake" "make" "yaml-cpp" "pkgconf")
source=("https://github.com/MadLadSquad/${PKG_REAL_NAME}/releases/download/v${pkgver}/${pkgname}.tar.xz")
sha256sums=('3b9d922f2f9d5fe716011ee8ba4cbef9bd0d3f05c918361910d6c8a976a46cc9')
build() {
cd $srcdir || exit
sed -i "s/lib64/lib/g" CMakeLists.txt
mkdir build || exit
cd build || exit
cmake .. -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DUIMGUI_INSTALL=ON -DCMAKE_INSTALL_PREFIX="/usr/" || exit
make || exit
}
package() {
cd $srcdir/build || exit
cmake --install . --prefix="${pkgdir}/usr/" || exit
}
|