diff options
author | Alexandre Demers | 2018-12-10 02:32:29 -0500 |
---|---|---|
committer | Alexandre Demers | 2018-12-10 02:32:29 -0500 |
commit | a7ee3a916c4b15838ee8a59944f09b346fc4f751 (patch) | |
tree | a22823b824244a985c59f00fb20579ae6f5425db | |
download | aur-a7ee3a916c4b15838ee8a59944f09b346fc4f751.tar.gz |
Initial commit
This allow to install the x86-linux-gnu meson cross-file under ArchLinux.
Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d6d04640dba6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = meson-cross-x86-linux-gnu + pkgdesc = Meson cross file for x86 Linux + pkgver = 1.0.0 + pkgrel = 1 + url = https://github.com/Oxalin/meson-cross-x86-linux-gnu + arch = any + depends = meson + source = git://github.com/Oxalin/meson-cross-x86-linux-gnu.git#tag=1.0.0 + sha256sums = SKIP + +pkgname = meson-cross-x86-linux-gnu + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f2c6058c485f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Dylan Baker <dylan@pnwbakers.com> +pkgname=meson-cross-x86-linux-gnu +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Meson cross file for x86 Linux" +arch=('any') +url="https://github.com/Oxalin/meson-cross-x86-linux-gnu" +license=('') +depends=('meson') +source=("git://github.com/Oxalin/meson-cross-x86-linux-gnu.git#tag=${pkgver}") +sha256sums=("SKIP") + +# pkgver() { +# cd "${srcdir}/${pkgname}" +# git describe --long | sed -r 's/^meson-cross-x86-linux-gnu-//;s/([^-]*-g)/r\1/;s/-/./g' +# } + +package() { + cd "${srcdir}/${pkgname}" + echo $PWD + install -Dm644 "x86-linux-gnu" "${pkgdir}/usr/share/meson/cross/x86-linux-gnu" +} |