aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZee Eichel <zee@dracos-linux.org>2019-05-28 16:46:43 +0700
committerZee Eichel <zee@dracos-linux.org>2019-05-28 16:46:43 +0700
commit5da4142991bffa3e48b783e27c829c709d553664 (patch)
treefb86b74fd572585419f89a3b950c0ff9e6dbe781
parentb67ae13eee21d46f67f99e4eaa7cee085b13ddb0 (diff)
downloaddemit.extra-git.repo-5da4142991bffa3e48b783e27c829c709d553664.tar.gz
demit.extra-git.repo-5da4142991bffa3e48b783e27c829c709d553664.tar.bz2
demit.extra-git.repo-5da4142991bffa3e48b783e27c829c709d553664.zip
accept dos2unix moving into extra repo
-rw-r--r--dos2unix/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/dos2unix/PKGBUILD b/dos2unix/PKGBUILD
new file mode 100644
index 0000000..2e92fca
--- /dev/null
+++ b/dos2unix/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Zee Eichel <zee@dracos-linux.org>
+
+pkgname=dos2unix
+pkgver=7.4.0
+pkgrel=1
+pkgdesc="Convert text files with DOS or Mac line breaks to Unix line breaks and vice versa."
+arch=(x86_64)
+url="https://waterlan.home.xs4all.nl/dos2unix.html"
+license=('GPL')
+provides=("${pkgname}")
+conflicts=("${pkgname}")
+source=("https://waterlan.home.xs4all.nl/dos2unix/dos2unix-7.4.0.tar.gz")
+sha256sums=("bac765abdbd95cdd87a71989d4382c32cf3cbfeee2153f0086cb9cf18261048a")
+
+build() {
+ cd "$pkgname-$pkgver"
+ make prefix=/usr
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR"=$pkgdir/" install
+ rm -rf $pkgdir/usr/share/{doc,man}
+}