smlinux/xorg/xcalc/xcalc.SMBuild
PktSurf 02d504d50f Added xdg-utils to xorg
Discarded --docdir build option, double quotes and made minor changes to several xorg build files
2023-06-06 15:03:00 +05:30

33 lines
705 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=
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
77fe2dad471c0b2a71d3e8bcd13e5109dbb5549ac24d366f54dfde72277dd2b907d21040fbd2b542013e6b4f1b5f5ac09b2b904b2000e804b9471dbb80b04952 xcalc-1.1.0.tar.lz
"