diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-04-28 06:20:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-04-28 06:21:59 +0000 |
commit | d226431749d16fdf850217bd771bf3b00be6b995 (patch) | |
tree | 0d360d0db3f5c3040895db3b2190c8a2db861836 /main/screen/APKBUILD | |
parent | f7bedc339738a60bafce270781474b0506215444 (diff) | |
download | aports-d226431749d16fdf850217bd771bf3b00be6b995.tar.bz2 aports-d226431749d16fdf850217bd771bf3b00be6b995.tar.xz |
main/screen: upgrade to 4.2.1
Diffstat (limited to 'main/screen/APKBUILD')
-rw-r--r-- | main/screen/APKBUILD | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/main/screen/APKBUILD b/main/screen/APKBUILD index 378a771466..81792c4c87 100644 --- a/main/screen/APKBUILD +++ b/main/screen/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Michael Mason <ms13sp@gmail.com> -# Maintainer: +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=screen -pkgver=4.0.3 -pkgrel=4 +pkgver=4.2.1 +pkgrel=0 pkgdesc="A window manager that multiplexes a physical terminal" url="http://ftp.gnu.org/gnu/screen/" arch="all" @@ -11,16 +11,20 @@ depends= makedepends="ncurses-dev" install= subpackages="$pkgname-doc" -source="http://ftp.gnu.org/gnu/screen/$pkgname-$pkgver.tar.gz - $pkgname-$pkgver.patch" +source="http://ftp.gnu.org/gnu/screen/$pkgname-$pkgver.tar.gz" -build() { - cd "$srcdir/$pkgname-$pkgver" - for i in ../*.patch; do - msg "Applying $i" - patch -p1 < $i || return 1 +_builddir="$srcdir"/screen-$pkgver +prepare() { + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac done +} +build() { + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -30,11 +34,15 @@ build() { --infodir=/usr/share/info \ || return 1 make || return 1 +} +package() { + cd "$_builddir" make -j1 DESTDIR="$pkgdir" install install -Dm644 etc/etcscreenrc "$pkgdir"/etc/screenrc || return 1 install -Dm644 etc/screenrc "$pkgdir"/etc/skel/.screenrc || return 1 } -md5sums="8506fd205028a96c741e4037de6e3c42 screen-4.0.3.tar.gz -243e18daf4b2bbff898fdf0d772fad52 screen-4.0.3.patch" +md5sums="419a0594e2b25039239af8b90eda7d92 screen-4.2.1.tar.gz" +sha256sums="5468545047e301d2b3579f9d9ce00466d14a7eec95ce806e3834a3d6b0b9b080 screen-4.2.1.tar.gz" +sha512sums="30826b2a2fc436483276b90cc4c6679470f7ccb7098c9bb8457d0e534998cd12da02882cf80678465f6540cade170c3fdc6bdfa31b07359ff0d3ffe2d6063710 screen-4.2.1.tar.gz" |