wmii: fix license, verify python version

This commit is contained in:
Colin Booth 2021-06-28 14:13:40 -07:00 committed by Đoàn Trần Công Danh
parent a250b4f77b
commit 6e37b536a5

View file

@ -1,17 +1,17 @@
# Template file for 'wmii' # Template file for 'wmii'
pkgname=wmii pkgname=wmii
version=3.9.2 version=3.9.2
revision=6 revision=7
wrksrc=${pkgname}+ixp-${version} wrksrc=${pkgname}+ixp-${version}
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="libXrandr-devel libXft-devel libXinerama-devel" makedepends="libXrandr-devel libXft-devel libXinerama-devel"
short_desc="Lightweight, dynamic window manager for X11" short_desc="Lightweight, dynamic window manager for X11"
maintainer="Zach L. <koni@archlinux.us>" maintainer="Zach L. <koni@archlinux.us>"
license="GPL-3" license="MIT"
homepage="https://code.google.com/p/wmii/" homepage="https://code.google.com/p/wmii/"
distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/wmii/wmii+ixp-${version}.tbz" distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/wmii/wmii+ixp-${version}.tbz"
checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b
python_version=2 #unverified python_version=2
CFLAGS="-fcommon" CFLAGS="-fcommon"
@ -19,6 +19,8 @@ do_build() {
LDFLAGS+=" -lX11 -lXrender" 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 PREFIX=/usr
} }
do_install() { do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install make PREFIX=/usr DESTDIR=${DESTDIR} install
vlicense LICENSE
} }