blob: 0bb61cb81adf2392561ebd0d0a4aebf1dbfad1ef (
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.4
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=('3626b302dd96f75026f5aa5b476be1328078d73e33bee75e9a38f40d70aea88e')
build() {
mv inyokaedit-community/ community/
wget -nv "$url/raw/v$pkgver/CMakeLists.txt" -O CMakeLists.txt
cmake -B build-cmake -DCMAKE_INSTALL_PREFIX="/usr" \
-DINY_BUILD_COMMUNITY_ONLY=ON \
-DINY_BUILD_APPLICATION=OFF \
-DINY_COMMUNITY=community/ubuntuusers_de
}
package() {
export LC_CTYPE=$_lang.UTF-8
export LANG=$_lang.UTF-8
DESTDIR="$pkgdir/" cmake --install build-cmake
}
|