diff options
Diffstat (limited to 'community/dos2unix/PKGBUILD')
-rw-r--r-- | community/dos2unix/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/dos2unix/PKGBUILD b/community/dos2unix/PKGBUILD new file mode 100644 index 000000000..47107ad65 --- /dev/null +++ b/community/dos2unix/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 83060 2013-01-27 09:35:12Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski +# Contributor: Renato Garcia <fgar.renatoATgmailDOTcom> +# Contributor: Gerson E. Ruotolo <gersonruotolo@globo.com> + +pkgname=dos2unix +pkgver=6.0.3 +pkgrel=1 +pkgdesc='Text file format converter' +arch=('i686' 'x86_64') +url='http://waterlan.home.xs4all.nl/dos2unix.html' +license=('BSD') +depends=('glibc') +makedepends=('perl') +conflicts=('hd2u') +source=("http://waterlan.home.xs4all.nl/${pkgname}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('f5268c5b28a1983537210c72b3fd43f4aad17a8dacb6727b615b56dca2ef9a04') + +build() { + cd $srcdir/$pkgname-$pkgver + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install + install -D -m644 COPYING.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE +} |