desktop/dos2unix/PKGBUILD
2019-01-03 03:45:45 +01:00

24 lines
606 B
Bash

pkgname=dos2unix
pkgver=7.4.0
pkgrel=1
pkgdesc='Text file format converter'
arch=('x86_64')
url='https://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=('bac765abdbd95cdd87a71989d4382c32cf3cbfeee2153f0086cb9cf18261048a')
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
}