29 lines
918 B
Bash
29 lines
918 B
Bash
# Template file for 'CKAN'
|
|
pkgname=CKAN
|
|
version=1.31.2
|
|
revision=1
|
|
archs="x86_64* i686*" # Only support archs that are supported by KSP itself
|
|
hostmakedepends="curl msbuild-bin"
|
|
makedepends="libgdiplus"
|
|
depends="libgdiplus mono"
|
|
short_desc="Find, install, and manage mods for Kerbal Space Program"
|
|
maintainer="Eugen Zagorodniy <zag@disroot.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/KSP-CKAN/CKAN"
|
|
changelog="https://raw.githubusercontent.com/KSP-CKAN/CKAN/master/CHANGELOG.md"
|
|
distfiles="https://github.com/KSP-CKAN/CKAN/archive/refs/tags/v$version.tar.gz"
|
|
checksum=0508eab871e41072af740cf3b2a69a852ac1a19b9e367c74c0c306aa10d8cec2
|
|
|
|
do_build() {
|
|
./build --configuration=Release
|
|
}
|
|
|
|
do_install() {
|
|
vbin debian/ckan
|
|
vman debian/ckan.1
|
|
vlicense debian/copyright
|
|
vinstall _build/ckan.exe 644 /usr/lib/ckan
|
|
vinstall debian/ckan.desktop 644 /usr/share/applications
|
|
vinstall debian/ckan.ico 644 /usr/share/icons
|
|
}
|