diff options
author | André Klitzing <aklitzing@gmail.com> | 2017-07-31 10:48:11 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-08-02 05:44:03 +0000 |
commit | d7c8dd729bed08ac7a379112793de37837c4dc65 (patch) | |
tree | 2ff3647b637c63cfb1310fc24ee85c1e8c6017e4 /community | |
parent | cd21631151d8e7e9fa10aecd8ac3b570153f5c4f (diff) | |
download | aports-d7c8dd729bed08ac7a379112793de37837c4dc65.tar.bz2 aports-d7c8dd729bed08ac7a379112793de37837c4dc65.tar.xz |
community/dos2unix: take maintainership and move from testing
Diffstat (limited to 'community')
-rw-r--r-- | community/dos2unix/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/community/dos2unix/APKBUILD b/community/dos2unix/APKBUILD new file mode 100644 index 0000000000..5bbaba2915 --- /dev/null +++ b/community/dos2unix/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: André Klitzing <aklitzing@gmail.com> +pkgname=dos2unix +pkgver=7.3.5 +pkgrel=0 +pkgdesc="Text file format converters" +url="http://waterlan.home.xs4all.nl/dos2unix.html" +arch="all" +license="BSD" +depends="" +makedepends="" +install="" +subpackages="$pkgname-doc" +source="http://waterlan.home.xs4all.nl/${pkgname}/${pkgname}-${pkgver}.tar.gz" + +builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$builddir" + sed -e '/^LDFLAGS/s|=|+=|' \ + -e '/CFLAGS_OS \+=/d' \ + -e '/LDFLAGS_EXTRA \+=/d' \ + -e "/^CFLAGS/s|-O2|${CFLAGS}|" \ + -i Makefile +} + +build() { + make ENABLE_NLS= -C "$builddir" +} + +package() { + make prefix=/usr \ + docsubdir=$pkgname \ + ENABLE_NLS= \ + DESTDIR="$pkgdir" \ + -C "$builddir" install +} + +sha512sums="beafefa715d894ec51bd808b18485bcf413f93b888203486e659f7e30b922b32b2f1da2305ef9ae85e54085ba3819bd512957bb872b529fe4728000cec7d3e58 dos2unix-7.3.5.tar.gz" |