Date: Saturday, July 18, 2020 @ 15:37:17 Author: archange Revision: 664432
upgpkg: klavaro 3.10-1 +PKGBUILD linting Modified: klavaro/trunk/PKGBUILD ----------+ PKGBUILD | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-07-18 15:37:13 UTC (rev 664431) +++ PKGBUILD 2020-07-18 15:37:17 UTC (rev 664432) @@ -1,27 +1,26 @@ -# Maintainer: Lukas Jirkovsky <l.jirkov...@gmail.com> +# Maintainer: Bruno Pagani <archa...@archlinux.org> +# Contirbutor: Lukas Jirkovsky <l.jirkov...@gmail.com> + pkgname=klavaro -pkgver=3.09 -pkgrel=3 +pkgver=3.10 +pkgrel=1 pkgdesc="Free touch typing tutor program" -arch=('x86_64') -url="http://klavaro.sourceforge.net/" -license=('GPL2') -depends=('curl' 'gtk3' 'hicolor-icon-theme') -makedepends=('intltool') +arch=(x86_64) +url="https://klavaro.sourceforge.io" +license=(GPL2) +depends=(curl gtk3) +makedepends=(intltool) optdepends=('espeakup: voice output') -source=("https://downloads.sourceforge.net/$pkgname/$pkgname/$pkgname-$pkgver.tar.bz2") -sha256sums=('9983e501563a4d05e429700a2bd5bb078ac43b2f0d4014864e3cac42e0a1f589') +source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('25e1387aa1553447fa759f364e5930985cf8ca3f27b5f8f802d5e0d86c6edf4a') build() { - cd "$srcdir/$pkgname-$pkgver" + cd ${pkgname}-${pkgver} ./configure --prefix=/usr make } package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install - - sed -i 's|/usr/share/icons/hicolor/24x24/apps/klavaro.png|klavaro|' \ - "$pkgdir/usr/share/applications/$pkgname.desktop" + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install }