wmii: move fallback config to usr/share

This commit is contained in:
Đoàn Trần Công Danh 2022-09-06 09:16:25 +07:00
parent df8572ff74
commit 2990767cf1

View file

@ -1,7 +1,7 @@
# Template file for 'wmii'
pkgname=wmii
version=3.9.2
revision=7
revision=8
wrksrc=${pkgname}+ixp-${version}
hostmakedepends="pkg-config"
makedepends="libXrandr-devel libXft-devel libXinerama-devel"
@ -14,13 +14,14 @@ checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
python_version=2
CFLAGS="-fcommon"
LDFLAGS=" -lX11 -lXrender"
do_build() {
LDFLAGS+=" -lX11 -lXrender"
make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr
make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB \
V=1 PREFIX=/usr ETC=/usr/share
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
make PREFIX=/usr DESTDIR=${DESTDIR} ETC=/usr/share install
vlicense LICENSE
}