Date: Thursday, August 11, 2016 @ 10:27:12 Author: arodseth Revision: 186393
upgpkg: vim-jad 1.3_1329-1 Modified: vim-jad/trunk/PKGBUILD ----------+ PKGBUILD | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-08-11 10:21:10 UTC (rev 186392) +++ PKGBUILD 2016-08-11 10:27:12 UTC (rev 186393) @@ -1,11 +1,12 @@ -# Maintainer: Alexander Rødseth <[email protected]> +# $Id$ +# Maintainer: Alexander F Rødseth <[email protected]> # Contributor: Laszlo Papp <djszapi @ gmail at com> -# Contributor: Dmitry ixaphire_at-gmail-dot+com +# Contributor: Dmitry ixaphire_at-gmail-dot+com pkgname=vim-jad -pkgver=1.3 -pkgrel=4 -pkgdesc='Automatically decompiles java class files and displays java code' +pkgver=1.3_1329 +pkgrel=1 +pkgdesc='Automatically decompile Java class files and display Java code' arch=('any') url='http://www.vim.org/scripts/script.php?script_id=446' license=('custom') @@ -12,16 +13,14 @@ depends=('vim' 'jad') groups=('vim-plugins') install="$pkgname.install" -source=("$pkgname::http://www.vim.org/scripts/download_script.php?src_id=1329" +source=("$pkgname::http://www.vim.org/scripts/download_script.php?src_id=${pkgver#*_}" 'LICENSE') sha256sums=('26a11cb99945c44e817ac39243246be906f160fdfc850a33511005079b48c7ad' '4689a6d3ed3bca186ab8fea8360f32fdbb84f84c82fb21698390202efa7b7d19') -build() { - cd "$srcdir" - - install -Dm644 "$srcdir/$pkgname" "$pkgdir/usr/share/vim/vimfiles/plugin/jad.vim" - install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +package() { + install -Dm644 "$pkgname" "$pkgdir/usr/share/vim/vimfiles/plugin/jad.vim" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } # vim:set ts=2 sw=2 et:
