summaryrefslogtreecommitdiff
path: root/user/dos2unix
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-25 00:16:22 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-25 00:17:38 +0000
commitc72a855c5b0ff6b2a5310bb8e7279aad5d1b00f5 (patch)
treef0f9710d7ad75ee92b448f12052a7f131bb5beaf /user/dos2unix
parent437a0fdd5707db3a7ae31247df5cff2a62778a93 (diff)
downloadpackages-c72a855c5b0ff6b2a5310bb8e7279aad5d1b00f5.tar.gz
packages-c72a855c5b0ff6b2a5310bb8e7279aad5d1b00f5.tar.bz2
packages-c72a855c5b0ff6b2a5310bb8e7279aad5d1b00f5.tar.xz
packages-c72a855c5b0ff6b2a5310bb8e7279aad5d1b00f5.zip
user/dos2unix: New package
Diffstat (limited to 'user/dos2unix')
-rw-r--r--user/dos2unix/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/user/dos2unix/APKBUILD b/user/dos2unix/APKBUILD
new file mode 100644
index 000000000..4b80f6265
--- /dev/null
+++ b/user/dos2unix/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=dos2unix
+pkgver=7.4.1
+pkgrel=0
+pkgdesc="Convert line endings in plain text files"
+url="https://sourceforge.net/projects/dos2unix/"
+arch="all"
+license="BSD-2-Clause-FreeBSD"
+depends=""
+makedepends=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://downloads.sourceforge.net/dos2unix/dos2unix-$pkgver.tar.gz"
+
+build() {
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="81e7cff82d95b298fb218b073f54d17fa851a7507fbd54b3cd9af7c1efa6a7bd3cf59f7a84ffbaf395403bf458650763e1755944451b24f708878a9c62316dc4 dos2unix-7.4.1.tar.gz"