Poniżej PKGBUILD nowej wersji stabilnej, oznaczonej nr 1.1:
# Maintainer: Josip Ponjavic <josipponjavic at gmail dot com>
# Maintainer: pavbaranov
pkgname=kdeplasma-applets-gmailfeed
_pkgname=gmailfeed
pkgver=1.1
pkgrel=1
pkgdesc="Gmail Feed is a plasmoid for Plasma 5."
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php/Gmail+Feed?content=169307"
license=('GPL')
depends=('plasma-framework' 'hicolor-icon-theme' 'knotifications')
makedepends=('git' 'extra-cmake-modules')
conflicts=("${pkgname%-*}")
provides=("${pkgname%-*}")
install=${pkgname}.install
source=('http://kde-apps.org/CONTENT/content-files/169307-gmailfeed-1.1.tar.gz')
md5sums=('dce518313585f1e1c4da2cbdf0f8c676')
build() {
cd "${_pkgname}-${pkgver}"
if [[ -d build ]]; then
rm -rf build
fi
mkdir build && cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make
}
package() {
cd "${_pkgname}-${pkgver}"/build
make install DESTDIR="${pkgdir}"
}
Przypominam, że potrzebujemy również plik kdeplasma-applets-gmailfeed.install z następującą zawartością:
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}