desktop/dos2unix/PKGBUILD

24 lines
606 B
Bash
Raw Normal View History

pkgname=dos2unix
2019-01-03 10:45:45 +08:00
pkgver=7.4.0
pkgrel=1
pkgdesc='Text file format converter'
arch=('x86_64')
2019-01-03 10:45:45 +08:00
url='https://waterlan.home.xs4all.nl/dos2unix.html'
license=('BSD')
2019-01-03 10:45:45 +08:00
depends=('glibc')
makedepends=('perl')
conflicts=('hd2u')
source=("http://waterlan.home.xs4all.nl/${pkgname}/${pkgname}-${pkgver}.tar.gz")
2019-01-03 10:45:45 +08:00
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
}