packaging: remove install files superseeded by hooks

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2016-04-30 23:39:18 +00:00
parent bd8e8bd96d
commit 2efacff187
9 changed files with 7 additions and 55 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Ivailo Monev <xakepa10@gmail.com>
pkgname=ariya-icons
pkgver=4.18.0.6b7a09b
pkgver=4.18.0.54ae81b
pkgrel=1
pkgdesc="Ariya icon theme for use with Katana"
arch=('any')
@ -11,7 +11,6 @@ license=('LGPL')
groups=('katana')
depends=('gtk-update-icon-cache')
makedepends=('cmake' 'git')
install=${pkgname}.install
source=("git+https://github.com/fluxer/ariya-icons.git")
sha1sums=('SKIP')

View file

@ -1,11 +0,0 @@
post_install() {
gtk-update-icon-cache -f -i usr/share/icons/ariya
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

View file

@ -5,7 +5,7 @@
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=katana-baseapps
pkgver=4.18.0.e563f9c
pkgver=4.18.0.5e9ecd1
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.kde.org'

View file

@ -11,7 +11,6 @@ license=('GPL' 'LGPL' 'FDL')
groups=('katana')
pkgdesc='Katana extra applications'
url="http://fluxer.github.io/katana/"
install="$pkgname.install"
depends=("katanalibs>=4.18.0" "katana-workspace>=4.18.0"
'taglib' 'sane' 'libarchive' 'poppler-qt4' 'qjson' 'exiv2' 'lcms2'
'libvncserver' 'ffmpeg' 'gettext' 'libmtp' 'libgl' 'parted' 'libgpod'

View file

@ -1,13 +0,0 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-mime-database usr/share/mime &> /dev/null
update-desktop-database -q
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

View file

@ -5,7 +5,7 @@
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=katana-workspace
pkgver=4.18.0.0b88124
pkgver=4.18.0.bc2d42f
pkgrel=1
pkgdesc="Katana workspace interface and basic tools"
arch=('i686' 'x86_64')

View file

@ -1,14 +1,8 @@
trigger_common() {
xdg-icon-resource forceupdate --theme hicolor &>/dev/null
update-desktop-database -q
update-mime-database usr/share/mime &> /dev/null
}
post_install() {
groupadd -g 135 kdm &>/dev/null
useradd -u 135 -g kdm -d /var/lib/kdm -s /bin/false -r -M kdm &>/dev/null
chown -R 135:135 var/lib/kdm &>/dev/null
trigger_common
genkdmconf --no-old --no-backup &>/dev/null
}
@ -16,13 +10,11 @@ post_upgrade() {
getent group kdm >/dev/null 2>&1 || groupadd -g 135 kdm &>/dev/null
getent passwd kdm >/dev/null 2>&1 || useradd -u 135 -g kdm -d /var/lib/kdm -s /bin/false -r -M kdm &>/dev/null
chown -R 135:135 var/lib/kdm &>/dev/null
trigger_common
genkdmconf &>/dev/null
}
post_remove() {
trigger_common
if [ -d usr/share/apps/kdm/faces ]; then
rm -r usr/share/apps/kdm/faces
fi

View file

@ -5,8 +5,8 @@
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=katanalibs
pkgver=4.18.0.b38566b
pkgrel=3
pkgver=4.18.0.957ec97
pkgrel=1
pkgdesc="Katana core libraries"
arch=('i686' 'x86_64')
url='http://fluxer.github.io/katana/'
@ -19,7 +19,6 @@ depends=('libxss' 'krb5' 'qca' 'libdbusmenu-qt' 'perl'
'libmusicbrainz5' 'alsa-lib' 'xcb-util-image' 'xcb-util-keysyms'
'xcb-util-renderutil' 'libwebp')
makedepends=('cmake' 'git' 'avahi' 'libgl' 'hspell' 'mesa' 'grantlee-qt4')
install=${pkgname}.install
source=("git+https://github.com/fluxer/kdelibs.git"
'kde-applications-menu.patch' 'archlinux-menu.patch')
sha1sums=('SKIP'

View file

@ -1,13 +0,0 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-mime-database usr/share/mime &> /dev/null
update-desktop-database -q
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}