diff options
author | taylorchu | 2015-06-17 15:45:50 -0700 |
---|---|---|
committer | taylorchu | 2015-06-17 15:45:50 -0700 |
commit | 76495afe0e2b644a40a7040ea46032cb2367ac44 (patch) | |
tree | a4d4666bf5141dcb015d2c764e6956fdc495cb95 | |
download | aur-76495afe0e2b644a40a7040ea46032cb2367ac44.tar.gz |
upgpkg: sai-git 40.2f66ea6-1
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 28 |
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cfb2fa637e6a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = sai-git + pkgdesc = taylorchu's sai repo (git version) + pkgver = 40.2f66ea6 + pkgrel = 1 + url = http://github.com/taylorchu/sai + arch = any + license = GPL2 + makedepends = git + depends = syslinux + depends = gptfdisk + depends = util-linux + depends = bash + depends = curl + source = git://github.com/taylorchu/sai.git + md5sums = SKIP + +pkgname = sai-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..018a3de08144 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!PKGBUILD +!.SRCINFO +!.gitignore diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a6852455624e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: tailinchu <use_my_id at gmail dot com> + +pkgname=sai-git +pkgver=40.2f66ea6 +pkgrel=1 +pkgdesc="taylorchu's sai repo (git version)" +arch=('any') +url="http://github.com/taylorchu/sai" +license=('GPL2') +depends=('syslinux' 'gptfdisk' 'util-linux' 'bash' 'curl') +makedepends=('git') +conflicts=() +provides=() +source=("git://github.com/taylorchu/sai.git") +md5sums=('SKIP') + +_gitroot="sai" + +pkgver () { + cd "$srcdir/$_gitroot" + echo "$(git rev-list --count HEAD).$(git describe --always)" +} + +package() { + cd "$srcdir/$_gitroot" + make PREFIX=/usr DESTDIR="$pkgdir" install +} + |