smlinux/xorg/twm/twm.SMBuild

33 lines
735 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=twm
version=1.0.10
build=1sml
homepage="https://xorg.freedesktop.org"
download="https://xorg.freedesktop.org/releases/individual/app/twm-$version.tar.bz2"
desc="standard window manager for the X window system"
requires="e2fsprogs libxau libxdmcp libxmu "
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
2806db1c3cd4e7015b365cd24b65e2315194069caf2127138d8e4453634caa270dc0ccd8f818e0dbec2ada03cf5c075b814df603dd3dce7623cef0278ed93924 twm-1.0.10.tar.lz
"