diff options
Diffstat (limited to 'mingw-w64-cmake-toolchains-git')
-rw-r--r-- | mingw-w64-cmake-toolchains-git/.SRCINFO | 16 | ||||
-rw-r--r-- | mingw-w64-cmake-toolchains-git/.gitignore | 1 | ||||
-rw-r--r-- | mingw-w64-cmake-toolchains-git/PKGBUILD | 31 |
3 files changed, 48 insertions, 0 deletions
diff --git a/mingw-w64-cmake-toolchains-git/.SRCINFO b/mingw-w64-cmake-toolchains-git/.SRCINFO new file mode 100644 index 0000000..58afa72 --- /dev/null +++ b/mingw-w64-cmake-toolchains-git/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = mingw-w64-cmake-toolchains-git + pkgdesc = CMake toolchains for MinGW-w64 + pkgver = 2426c84 + pkgrel = 1 + url = https://git.ignore.pl/mingw-w64-cmake-toolchains/ + arch = any + license = None + depends = cmake + depends = mingw-w64-gcc + optdepends = wine: cross-compiling emulator for cmake + provides = mingw-w64-cmake-toolchains + conflicts = mingw-w64-cmake-toolchains + source = git+https://git.ignore.pl/mingw-w64-cmake-toolchains/ + sha256sums = SKIP + +pkgname = mingw-w64-cmake-toolchains-git diff --git a/mingw-w64-cmake-toolchains-git/.gitignore b/mingw-w64-cmake-toolchains-git/.gitignore new file mode 100644 index 0000000..f2b0848 --- /dev/null +++ b/mingw-w64-cmake-toolchains-git/.gitignore @@ -0,0 +1 @@ +mingw-w64-cmake-toolchains/ diff --git a/mingw-w64-cmake-toolchains-git/PKGBUILD b/mingw-w64-cmake-toolchains-git/PKGBUILD new file mode 100644 index 0000000..67b70e4 --- /dev/null +++ b/mingw-w64-cmake-toolchains-git/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Aki <please at ignore pl> + +_pkgname=mingw-w64-cmake-toolchains +pkgname="$_pkgname-git" +pkgver=2426c84 +pkgrel=1 +arch=('any') +pkgdesc="CMake toolchains for MinGW-w64" +provides=("$_pkgname") +conflicts=("$_pkgname") +depends=('cmake' 'mingw-w64-gcc') +optdepends=('wine: cross-compiling emulator for cmake') +license=("None") +url="https://git.ignore.pl/$_pkgname/" +source=("git+https://git.ignore.pl/$_pkgname/") +sha256sums=('SKIP') + +pkgver() { + cd $_pkgname + git rev-parse --short HEAD +} + +build() { + cd $_pkgname + cmake -B build --install-prefix="/usr" + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install "$_pkgname/build" +} |