diff options
author | mutantmonkey | 2013-03-02 17:53:31 -0500 |
---|---|---|
committer | mutantmonkey | 2013-03-02 17:53:31 -0500 |
commit | 09ec2fde59fa87de0697e13d4c3785f2cd96353d (patch) | |
tree | 079a5d2f49a905db3ce5d12465c059c68a3ec4ed | |
download | aur-09ec2fde59fa87de0697e13d4c3785f2cd96353d.tar.gz |
import my AUR packages into git
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 42 |
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..040a2e671a9f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = dracut-antievilmaid-git + pkgdesc = Dracut module and conf file to enable Anti Evil Maid support. + pkgver = 31.414fd06 + pkgrel = 1 + url = http://www.qubes-os.org + arch = i686 + arch = x86_64 + license = GPL + makedepends = git + depends = dracut + depends = trousers + optdepends = antievilmaid: Anti Evil Maid installation script + provides = dracut-antievilmaid + conflicts = dracut-antievilmaid + source = git://git.qubes-os.org/joanna/antievilmaid.git + sha256sums = SKIP + +pkgname = dracut-antievilmaid-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bfc8b47fbb0d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: mutantmonkey <aur@mutantmonkey.in> +pkgname=dracut-antievilmaid-git +pkgver=20120925 +pkgrel=1 +pkgdesc="Dracut module and conf file to enable Anti Evil Maid support." +arch=('i686' 'x86_64') +url="http://www.qubes-os.org" +license=('GPL') +depends=('dracut' 'trousers') +makedepends=('git') +optdepends=("antievilmaid: Anti Evil Maid installation script") +provides=('dracut-antievilmaid') +conflicts=('dracut-antievilmaid') + +_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" +} + +package() { + cd "$srcdir/$_gitname" + install -D -m0644 dracut-antievilmaid/anti-evil-maid.conf \ + "$pkgdir/etc/dracut.conf.d/anti-evil-maid.conf" + + install -d -m0755 "$pkgdir/usr/lib/dracut/modules.d" + cp -r dracut-antievilmaid/90anti-evil-maid \ + "$pkgdir/usr/lib/dracut/modules.d/" +} + +# vim:set ts=2 sw=2 et: |