diff options
author | mutantmonkey | 2013-04-21 17:26:22 -0400 |
---|---|---|
committer | mutantmonkey | 2013-04-21 17:26:22 -0400 |
commit | 6fee2c219c5d0d50021ca97acf6cd6d14ea8b012 (patch) | |
tree | 2d2e0294f0c6b41e2e1dbb77d5b1daa89b77706e | |
parent | 09ec2fde59fa87de0697e13d4c3785f2cd96353d (diff) | |
download | aur-6fee2c219c5d0d50021ca97acf6cd6d14ea8b012.tar.gz |
update rest of packages for pacman 4.1
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 9 insertions, 17 deletions
@@ -1,6 +1,7 @@ # Maintainer: mutantmonkey <aur@mutantmonkey.in> pkgname=dracut-antievilmaid-git -pkgver=20120925 +_gitname=antievilmaid +pkgver=31.414fd06 pkgrel=1 pkgdesc="Dracut module and conf file to enable Anti Evil Maid support." arch=('i686' 'x86_64') @@ -11,26 +12,17 @@ makedepends=('git') optdepends=("antievilmaid: Anti Evil Maid installation script") provides=('dracut-antievilmaid') conflicts=('dracut-antievilmaid') +source=('git://git.qubes-os.org/joanna/antievilmaid.git') +sha256sums=('SKIP') -_gitroot=git://git.qubes-os.org/joanna/antievilmaid.git -_gitname=antievilmaid - -build() { - cd "$srcdir" - msg "Connecting to GIT server...." - - if [[ -d "$_gitname" ]]; then - cd "$_gitname" && git pull origin - msg "The local files are updated." - else - git clone "$_gitroot" "$_gitname" - fi - - msg "GIT checkout done or server timeout" +pkgver() { + cd $_gitname + echo $(git rev-list --count master).$(git rev-parse --short master) } package() { - cd "$srcdir/$_gitname" + cd $_gitname + install -D -m0644 dracut-antievilmaid/anti-evil-maid.conf \ "$pkgdir/etc/dracut.conf.d/anti-evil-maid.conf" |