aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-24 21:09:37 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-24 23:32:56 -0300
commit85eecb9ab964135dde1c97b75391acd3869fdf4a (patch)
treec957a24afec1bcbe6f8ba05e60b4dbb3a76b5425
parent91b20cd669ed91cd83bf684ee9091dc7bbc06233 (diff)
downloadaports-85eecb9ab964135dde1c97b75391acd3869fdf4a.tar.gz
aports-85eecb9ab964135dde1c97b75391acd3869fdf4a.tar.bz2
aports-85eecb9ab964135dde1c97b75391acd3869fdf4a.tar.xz
community/mrxvt: fix license=, modernize
-rw-r--r--community/mrxvt/APKBUILD26
1 files changed, 8 insertions, 18 deletions
diff --git a/community/mrxvt/APKBUILD b/community/mrxvt/APKBUILD
index 659d6af6d9..eb8248962c 100644
--- a/community/mrxvt/APKBUILD
+++ b/community/mrxvt/APKBUILD
@@ -2,33 +2,25 @@
# Maintainer: Mark Constable <markc@renta.net>
pkgname=mrxvt
pkgver=0.5.4
-pkgrel=7
+pkgrel=8
pkgdesc="A multi-tabbed X terminal emulator based on rxvt code"
url="http://materm.sourceforge.net/wiki/pmwiki.php"
arch="all"
-license="GPL"
+license="GPL-2.0-or-later"
makedepends="libpng-dev libjpeg-turbo-dev libxft-dev libxpm-dev libx11-dev"
subpackages="$pkgname-doc"
-source="
- https://downloads.sourceforge.net/sourceforge/materm/$pkgname-$pkgver.tar.gz
+source="https://downloads.sourceforge.net/sourceforge/materm/mrxvt-$pkgver.tar.gz
mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch
musl-fix-includes.patch
mrxvt.desktop
"
-_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$_builddir"
- update_config_sub || return 1
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ default_prepare
+ update_config_sub
}
build() {
- cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -47,14 +39,12 @@ build() {
--enable-greek \
--enable-cjk \
--enable-backspace-key \
- --with-save-lines=2048 \
- || return 1
- make || return 1
+ --with-save-lines=2048
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR=$pkgdir install || return 1
+ make DESTDIR=$pkgdir install
install -Dm644 ../mrxvt.desktop $pkgdir/usr/share/applications/mrxvt.desktop
}