blob: 2a5943392d4dde03fc97c3486f2c8a9b15fb5146 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Sebastiaan Lokhorst <sebastiaanlokhorst@gmail.com>
_gitname=gsl
pkgname=microsoft-gsl-git
pkgver=r487.d846fe5
pkgrel=1
pkgdesc="Microsoft's Guidelines Support Library (GSL)"
arch=('x86_64')
url='https://github.com/Microsoft/GSL'
license=('MIT')
provides=('microsoft-gsl')
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 include "$pkgdir/usr"
}
|