diff options
author | Sebastiaan Lokhorst | 2016-08-21 22:24:50 +0200 |
---|---|---|
committer | Sebastiaan Lokhorst | 2016-08-21 22:24:50 +0200 |
commit | 92b932da04f16e0102992c05274410f0985ceec7 (patch) | |
tree | 6b919e31074ac53fc65f4add5594e1ae22ea9f70 | |
download | aur-92b932da04f16e0102992c05274410f0985ceec7.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..00561329be93 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +# Generated by mksrcinfo v8 +# Sun Aug 21 20:24:19 UTC 2016 +pkgbase = microsoft-gsl-git + pkgdesc = Microsoft's Guidelines Support Library (GSL) + pkgver = r323.5112ba0 + pkgrel = 1 + url = https://github.com/Microsoft/GSL + arch = i686 + arch = x86_64 + license = MIT + source = gsl::git+https://github.com/Microsoft/GSL.git + md5sums = SKIP + +pkgname = microsoft-gsl-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..283d69a7b271 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Sebastiaan Lokhorst <sebastiaanlokhorst@gmail.com> + +_gitname=gsl +pkgname=microsoft-gsl-git +pkgver=r323.5112ba0 +pkgrel=1 +pkgdesc="Microsoft's Guidelines Support Library (GSL)" +arch=('i686' 'x86_64') +url='https://github.com/Microsoft/GSL' +license=('MIT') + +source=("$_gitname::git+https://github.com/Microsoft/GSL.git") +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$_gitname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/$_gitname" + install -d "$pkgdir/usr/include" + cp -r "gsl" "$pkgdir/usr/include" +} |