diff options
Diffstat (limited to 'community/pcmanfm/APKBUILD')
-rw-r--r-- | community/pcmanfm/APKBUILD | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/community/pcmanfm/APKBUILD b/community/pcmanfm/APKBUILD index 462808dc64..9a0f435000 100644 --- a/community/pcmanfm/APKBUILD +++ b/community/pcmanfm/APKBUILD @@ -3,12 +3,12 @@ pkgname=pcmanfm pkgver=1.2.5 -pkgrel=1 -pkgdesc='Extremely fast and lightweight file manager' -arch='all' -url='http://pcmanfm.sourceforge.net/' -license='GPL' -makedepends='gtk+2.0-dev libfm-dev intltool' +pkgrel=2 +pkgdesc="Extremely fast and lightweight file manager" +arch="all" +url="https://wiki.lxde.org/en/PCManFM" +license="GPL-2.0+" +makedepends="gtk+2.0-dev libfm-dev intltool" subpackages="$pkgname-doc $pkgname-lang" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz CVE-2017-8934.patch" @@ -18,18 +18,25 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz # - CVE-2017-8934 build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$builddir" - ./configure --sysconfdir=/etc --prefix=/usr || return 1 - make LDFLAGS+=' -lm' || return 1 + ./configure \ + --sysconfdir=/etc \ + --prefix=/usr + make +} + +check() { + cd "$builddir" + make check } package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install - sed -i 's|x-directory/normal|inode/directory|' \ - "$pkgdir"/usr/share/applications/pcmanfm.desktop || return 1 + sed -i 's|x-directory/normal|inode/directory|' \ + "$pkgdir"/usr/share/applications/pcmanfm.desktop } sha512sums="ce53315483f58361c5a7797bdca355dbbedc2cf3907d319c7c65be844ea74ed297497dc3183c903e06b8294f6301d19347f6b9871e34bf773c04ff4fb8ab32f3 pcmanfm-1.2.5.tar.xz |