aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-24 18:58:42 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-24 23:29:30 -0300
commitc900993e469f53c1cbee005f1d0be94e08eac266 (patch)
tree8648a34dd2f71fae47abcf075e5f34a0e91e76ec
parent2e84854cac14855fc730466f8d89e7f65c14a9d8 (diff)
downloadaports-c900993e469f53c1cbee005f1d0be94e08eac266.tar.gz
aports-c900993e469f53c1cbee005f1d0be94e08eac266.tar.bz2
aports-c900993e469f53c1cbee005f1d0be94e08eac266.tar.xz
community/recordmydesktop: modernize
-rw-r--r--community/recordmydesktop/APKBUILD22
1 files changed, 5 insertions, 17 deletions
diff --git a/community/recordmydesktop/APKBUILD b/community/recordmydesktop/APKBUILD
index 082d29220e..bb41c4b2c0 100644
--- a/community/recordmydesktop/APKBUILD
+++ b/community/recordmydesktop/APKBUILD
@@ -5,8 +5,7 @@ pkgrel=2
pkgdesc="Produces a OGG encapsulated Theora/Vorbis recording of your desktop"
url="http://recordmydesktop.sourceforge.net"
arch="all"
-license="GPL"
-depends=""
+license="GPL-2.0-or-later"
makedepends="alsa-lib-dev zlib-dev libvorbis-dev libxdamage-dev libxext-dev
libtheora-dev libsm-dev autoconf automake libtool"
subpackages="$pkgname-doc"
@@ -17,32 +16,21 @@ source="https://downloads.sourceforge.net/recordmydesktop/recordmydesktop-$pkgve
automake.patch
"
-_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
- libtoolize --force && aclocal && autoconf \
- && automake --add-missing || return 1
+ default_prepare
+ autoreconf -fi
}
build() {
- cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --disable-jack \
- || return 1
+ --disable-jack
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
sha512sums="a32df1257d7d8928123437b38abcbdf623a9a65d313df5bec9bc06ef7229ebe4664a3cbea1fe5f6f1f9b89efb939873adc020f4ac072477f6df9481a37e7c350 recordmydesktop-0.3.8.1.tar.gz