blob: e717307f265fda0bac2d1d49a52a992be1140065 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Dylan Baker <dylan@pnwbakers.com>
pkgname=meson-cross-x86-linux-gnu
pkgver=1.0.4
pkgrel=2
pkgdesc="Meson cross file for x86 Linux"
arch=('any')
url="https://github.com/Oxalin/meson-cross-x86-linux-gnu"
license=('')
depends=('meson')
makedepends=('git')
source=("git+https://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"
}
|