summaryrefslogtreecommitdiff
path: root/ubase/Pkgfile
blob: fce9a0c5d2ccc7e0e0ee1e488a07e4a937bab35d (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
# Description:	suckless linux base utils
# URL:		https://git.suckless.org/ubase/file/README.html
# Maintainer:	Shokara Kou, kou at 13f0 dot net
# Depends on:

name=ubase
commit=3c88778
version=git-$commit
release=1
source=(include-sysmacros_h.diff)

gitsource=git://git.suckless.org/ubase/

build() {
	git clone $gitsource
	cd $name
	git checkout $commit

	# fix link error for undefined reference to major/minor/makedev()
	git apply $SRC/include-sysmacros_h.diff

	make ubase-box
	make PREFIX=/ MANPREFIX=/usr/share/man DESTDIR=$PKG ubase-box-install
}