blob: 4aa671ce6a6cd72b59493646c50d284849bf73b9 (
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
|
# Maintainer: Thorsten Roth <elthoro@gmx.de>
pkgname=inyokaedit-data-ubuntuusersde
pkgver=0.28.2
pkgrel=1
_lang=de_DE # Need to set LC_CTYPE/LANG because of filenames with special characters
pkgdesc='ubuntuusers.de community files for InyokaEdit'
arch=('any')
url='https://github.com/inyokaproject/inyokaedit/'
license=('GPL-3.0-or-later')
depends=('bash')
optdepends=('inyokaedit: Editor for Inyoka based portals'
'inyokaedit-plugins: Plugins for InyokaEdit')
source=("https://github.com/inyokaproject/inyokaedit/releases/download/v$pkgver/inyokaedit-community-$pkgver.zip")
sha256sums=('7ee31ab79b3c0210b38701afe6b0a99e586885a0defad4ca2b0deeaca5e2e9ea')
build() {
mv inyokaedit-community/ community/
wget -nv "$url/raw/v$pkgver/CMakeLists.txt" -O CMakeLists.txt
cmake -B build-cmake -DCMAKE_INSTALL_PREFIX="/usr" \
-DBUILD_COMMUNITY_ONLY=ON \
-DBUILD_APPLICATION=OFF \
-DCOMMUNITY=community/ubuntuusers_de
}
package() {
export LC_CTYPE=$_lang.UTF-8
export LANG=$_lang.UTF-8
DESTDIR="$pkgdir/" cmake --install build-cmake
}
|