summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c8606db379a82e56cc7c725e3bce56d4e48ed050 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Keil Miller Jr <keilmillerjr@outlook.com>
pkgname="endlines"
pkgver=1.9.2
pkgrel=3
pkgdesc="Endlines smartly converts text files line endings."
arch=("x86_64")
url="https://github.com/mdolidon/endlines"
license=('Apache License 2.0')
source=("https://github.com/mdolidon/$pkgname/archive/$pkgver.tar.gz")
md5sums=('d164148541ece2dccc481ae81dd7b543')

prepare() {
    cd "$pkgname-$pkgver"
	patch -p2 < ../../package.diff
}

build() {
	cd "$pkgname-$pkgver"
	make
}

check() {
	cd "$pkgname-$pkgver"
	make test
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
}