summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cd0484c9e85ce3de63a4ae1a3c4691c793cf5995 (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: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor:	Marcell Meszaros < marcell.meszaros AT runbox.eu >
# Contributor: aksr <aksr at t-com dot me>

pkgname=minised
pkgver=1.16
pkgrel=2
pkgdesc="Smaller, faster sed implementation"
arch=('x86_64')
url="https://exactcode.com/site/open_source/minised/"
license=('custom:BSD-like')
depends=('glibc')
source=("$pkgname-$pkgver.tar.gz::https://dl.exactcode.de/oss/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('46e072d5d45c9fd3d5b268523501bbea0ad016232b2d3f366a7aad0b1e7b3f71')

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

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

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
	install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}