diff options
-rw-r--r-- | dzlad/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dzlad/PKGBUILD b/dzlad/PKGBUILD new file mode 100644 index 0000000..8e6404f --- /dev/null +++ b/dzlad/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: lolilolicon <lolilolicon#gmail#com> +# Contributor: lolilolicon <lolilolicon#gmail#com> + +pkgname=dzlad +pkgver=0.1.1 +pkgrel=2 +pkgdesc="Dzlad helps you do some AUR tasks" +arch=(any) +url="http://github.com/lolilolicon/dzlad" +license=('MIT') +depends=(ruby) +provides=(dzlad-git) +conflicts=(dzlad-git) +source=(http://cloud.github.com/downloads/lolilolicon/dzlad/$pkgname-$pkgver.tar.bz2) +md5sums=('a96650e52e087a83ad0653c37ad7c497') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + install -d "$pkgdir/usr/lib/ruby/site_ruby/1.9.1/dzlad" + install -m 644 lib/dzlad/*.rb "$pkgdir/usr/lib/ruby/site_ruby/1.9.1/dzlad" + install -Dm 644 lib/dzlad.rb "$pkgdir/usr/lib/ruby/site_ruby/1.9.1/" + install -Dm 755 bin/dzlad "$pkgdir/usr/bin/dzlad" + + install -Dm 644 LICENSE "$pkgdir/usr/share/license/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: |