smlinux/xorg/xcalc/xcalc.SMBuild

33 lines
709 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xcalc
version=1.1.0
build=1sml
homepage="https://cgit.freedesktop.org/xorg/app/xcalc/"
download="https://xorg.freedesktop.org/releases/individual/app/xcalc-$version.tar.bz2"
desc="Scientific calculator for X"
requires="libxaw "
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="
77fe2dad471c0b2a71d3e8bcd13e5109dbb5549ac24d366f54dfde72277dd2b907d21040fbd2b542013e6b4f1b5f5ac09b2b904b2000e804b9471dbb80b04952 xcalc-1.1.0.tar.lz
"