[arch-commits] Commit in jedit/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Sat Aug 3 08:34:57 UTC 2013
Date: Saturday, August 3, 2013 @ 10:34:57
Author: arodseth
Revision: 95006
upgpkg: jedit 5.1.0-1
Modified:
jedit/trunk/PKGBUILD
----------+
PKGBUILD | 26 ++++++++++----------------
1 file changed, 10 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-08-03 07:36:18 UTC (rev 95005)
+++ PKGBUILD 2013-08-03 08:34:57 UTC (rev 95006)
@@ -6,8 +6,8 @@
# Contributor: Dusty Phillips <dusty at buchuki.com>
pkgname=jedit
-pkgver=5.0.0
-pkgrel=2
+pkgver=5.1.0
+pkgrel=1
pkgdesc='Text editor for programmers'
arch=('any')
url='http://www.jedit.org/'
@@ -21,32 +21,26 @@
'jedit.sh'
'jeditbg.sh'
'jedit.props')
-sha256sums=('24b7f10f012737d77fe4bfa6c7961fca978ad3dd410561efd1ca8ab796e0f6ad'
+sha256sums=('96f229d91a1effd6b0da1aee209390d8a131bd68e0cf4cd274dca14245ba30d7'
'e908f2d4b15aab76e5e4633b71f25f7f25baa5b9e375d373e8729205700a57de'
'a1dd1b688f08c5c967861fe80df13cac201afa6dcfcecc9a289b2c3bec7c8915'
'1ada993b3f079bba40be736a66eae390ee0427c18289be5965338f8e3adc7f27')
-_exec=('jeditbg %U')
-_name=('jEdit')
-_genericname=('Editor')
-build() {
- cd "$srcdir"
-
- gendesk -n
+prepare() {
+ gendesk -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --exec 'jeditbg %U' \
+ --name 'jEdit' --genericname 'Editor'
}
package() {
cd "$srcdir"
-
java -jar "${pkgname}${pkgver}install.jar" auto \
"$pkgdir/usr/share/java/$pkgname/" \
unix-script="$pkgdir/usr/bin/" \
unix-man="$pkgdir/usr/share/man/man1" > inst.log
-
- install -Dm755 "jedit.sh" "$pkgdir/usr/bin/jedit"
- install -Dm755 "jeditbg.sh" "$pkgdir/usr/bin/jeditbg"
- install -Dm644 "jedit.props" "$pkgdir/usr/share/jedit/default.props"
- install -Dm644 "jedit.desktop" "$pkgdir/usr/share/applications/jedit.desktop"
+ install -Dm755 'jedit.sh' "$pkgdir/usr/bin/jedit"
+ install -Dm755 'jeditbg.sh' "$pkgdir/usr/bin/jeditbg"
+ install -Dm644 'jedit.props' "$pkgdir/usr/share/jedit/default.props"
+ install -Dm644 'jedit.desktop' "$pkgdir/usr/share/applications/jedit.desktop"
install -Dm644 "$pkgdir/usr/share/java/jedit/doc/jedit.png" \
"$pkgdir/usr/share/pixmaps/jedit.png"
}
More information about the arch-commits
mailing list