maemo/gconf: fix linting issues (!928)

MP:[AL13]:maemo/gconf/APKBUILD:17:cd "$builddir" can be removed in phase 'build'
MP:[AL13]:maemo/gconf/APKBUILD:30:cd "$builddir" can be removed in phase 'check'
MP:[AL13]:maemo/gconf/APKBUILD:35:cd "$builddir" can be removed in phase 'package'
MP:[AL32]:maemo/gconf/APKBUILD:12:unnecesary usage of braces: ${pkgver}
This commit is contained in:
Minecrell 2020-02-03 19:38:08 +01:00 committed by Bart Ribbers
parent bc7957a503
commit 685e7e2b52
No known key found for this signature in database
GPG Key ID: 699D16185DAFAE61

View File

@ -9,12 +9,11 @@ license="GPL-2.0-or-later"
depends_dev="libxml2-dev gtk+3.0-dev polkit-dev"
makedepends="$depends_dev gobject-introspection-dev glib-dev intltool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/GConf/${pkgver%.*}/GConf-${pkgver}.tar.xz"
source="https://download.gnome.org/sources/GConf/${pkgver%.*}/GConf-$pkgver.tar.xz"
builddir="$srcdir"/GConf-"$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@ -27,12 +26,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}