mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 03:07:15 +08:00
netbeans: switch to pacman hooks #74
This commit is contained in:
parent
8cf4e2a9ce
commit
315f54dc24
@ -3,8 +3,8 @@
|
|||||||
|
|
||||||
pkgname=netbeans
|
pkgname=netbeans
|
||||||
pkgver=8.2
|
pkgver=8.2
|
||||||
_pkgdate=201609300101
|
_pkgdate=201610071157
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='Netbeans IDE development platform for Java, HTML5, PHP, Groovy, C and C++.'
|
pkgdesc='Netbeans IDE development platform for Java, HTML5, PHP, Groovy, C and C++.'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='http://www.netbeans.org'
|
url='http://www.netbeans.org'
|
||||||
@ -17,9 +17,8 @@ optdepends=('php: for developing programs in php'
|
|||||||
categories=('programming')
|
categories=('programming')
|
||||||
options=('!strip')
|
options=('!strip')
|
||||||
backup=('usr/share/netbeans/etc/netbeans.conf')
|
backup=('usr/share/netbeans/etc/netbeans.conf')
|
||||||
install="${pkgname}.install"
|
source=("http://bits.netbeans.org/netbeans/$pkgver/community/zip/netbeans-$pkgver-$_pkgdate.zip")
|
||||||
source=("http://download.netbeans.org/netbeans/$pkgver/final/zip/netbeans-$pkgver-$_pkgdate.zip")
|
sha256sums=('0a3a8fc9c8acfbbb8a48284328ecee80139fc7ed89d8a94f509fbf8295b47346')
|
||||||
sha256sums=('ad9888334b9a6c1f1138dcb2eccc8ce4921463e871e46def4ecc617538160948')
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
gendesk -f -n --pkgname "${pkgname}" --pkgdesc "${pkgdesc}"
|
gendesk -f -n --pkgname "${pkgname}" --pkgdesc "${pkgdesc}"
|
||||||
|
@ -8,7 +8,6 @@ pre_install() {
|
|||||||
|
|
||||||
# arg 1: the new package version
|
# arg 1: the new package version
|
||||||
post_install() {
|
post_install() {
|
||||||
update-desktop-database >/dev/null 2>&1
|
|
||||||
/bin/true
|
/bin/true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -21,7 +20,6 @@ pre_upgrade() {
|
|||||||
# arg 1: the new package version
|
# arg 1: the new package version
|
||||||
# arg 2: the old package version
|
# arg 2: the old package version
|
||||||
post_upgrade() {
|
post_upgrade() {
|
||||||
update-desktop-database >/dev/null 2>&1
|
|
||||||
/bin/true
|
/bin/true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -32,6 +30,5 @@ pre_remove() {
|
|||||||
|
|
||||||
# arg 1: the old package version
|
# arg 1: the old package version
|
||||||
post_remove() {
|
post_remove() {
|
||||||
update-desktop-database >/dev/null 2>&1
|
|
||||||
/bin/true
|
/bin/true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user