summaryrefslogtreecommitdiff
path: root/mingw-w64-cmake-toolchains-git
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-01-21 14:24:55 +0100
committerAki <please@ignore.pl>2023-01-21 14:24:55 +0100
commit7b8ad72644df35970fc6e571a549e3c58acfedc5 (patch)
treef1d78275e8396d49f7b4dc6925d6461a9b1da0fe /mingw-w64-cmake-toolchains-git
parent37183b627edda0fe9bda1d7d5e45535c897fb508 (diff)
downloadarch-ignore-7b8ad72644df35970fc6e571a549e3c58acfedc5.zip
arch-ignore-7b8ad72644df35970fc6e571a549e3c58acfedc5.tar.gz
arch-ignore-7b8ad72644df35970fc6e571a549e3c58acfedc5.tar.bz2
Renamed toolchains package
Diffstat (limited to 'mingw-w64-cmake-toolchains-git')
-rw-r--r--mingw-w64-cmake-toolchains-git/.SRCINFO16
-rw-r--r--mingw-w64-cmake-toolchains-git/.gitignore1
-rw-r--r--mingw-w64-cmake-toolchains-git/PKGBUILD31
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"
+}