29 lines
918 B
Bash
29 lines
918 B
Bash
# Template file for 'CKAN'
|
|
pkgname=CKAN
|
|
version=1.30.4
|
|
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=7c73543bf109fd1bc7917bb1955acaab14086e709e92351d4a6b10d780d53d23
|
|
|
|
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
|
|
}
|