summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mingw-w64-cmake-toolchains/.SRCINFO14
-rw-r--r--mingw-w64-cmake-toolchains/.gitignore1
-rw-r--r--mingw-w64-cmake-toolchains/PKGBUILD28
3 files changed, 43 insertions, 0 deletions
diff --git a/mingw-w64-cmake-toolchains/.SRCINFO b/mingw-w64-cmake-toolchains/.SRCINFO
new file mode 100644
index 0000000..821f6eb
--- /dev/null
+++ b/mingw-w64-cmake-toolchains/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = mingw-w64-cmake-toolchains
+ 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
+ source = git+https://git.ignore.pl/mingw-w64-cmake-toolchains/
+ sha256sums = SKIP
+
+pkgname = mingw-w64-cmake-toolchains
diff --git a/mingw-w64-cmake-toolchains/.gitignore b/mingw-w64-cmake-toolchains/.gitignore
new file mode 100644
index 0000000..0dfe6cd
--- /dev/null
+++ b/mingw-w64-cmake-toolchains/.gitignore
@@ -0,0 +1 @@
+mingw-w64-cmake-toolchains
diff --git a/mingw-w64-cmake-toolchains/PKGBUILD b/mingw-w64-cmake-toolchains/PKGBUILD
new file mode 100644
index 0000000..eff5246
--- /dev/null
+++ b/mingw-w64-cmake-toolchains/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Aki <please at ignore pl>
+
+pkgname=mingw-w64-cmake-toolchains
+pkgver=2426c84
+pkgrel=1
+arch=('any')
+pkgdesc="CMake toolchains for MinGW-w64"
+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"
+}