smlinux/extra/aisleriot/aisleriot.SMBuild

40 lines
No EOL
1 KiB
Text
Executable file

APP=aisleriot
VERSION=3.22.9
BUILD=1sml
HOMEPAGE="https://wiki.gnome.org/Apps/Aisleriot"
DOWNLOAD="https://gitlab.gnome.org/GNOME/aisleriot/-/archive/3.22.9/aisleriot-3.22.9.tar.bz2"
DESC="Card games collection written in guile"
REQUIRES="guile gtk3 libcanberra librsvg "
build() {
mkandenterbuilddir
rm -rf $APP-$VERSION
tar xf $SRCDIR/$APP-$VERSION.tar.?z*
cd $APP-$VERSION
fixbuilddirpermissions
patch -p1 < $SRCDIR/guile3.diff
CONFIG_SHELL=bash \
./configure \
--prefix="" \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-sound \
--with-card-theme-formats=svg \
--disable-schemas-install \
--with-platform=gtk-only
make
make install DESTDIR=$PKG
cp COPYING* $PKGDOCS/
mkfinalpkg
}
SHA512SUMS="
a93779fea92542caa29117bd76c3df524924fa8a0aae0ae2b4d831c311acbaa6c061cbb98e269937b694e99c98226d58e84ce266fe34cf4261602f4bb4e7906e aisleriot-3.22.9.tar.xz
637410e68bfaea366830d9d6e9ef3b2f03153b8406a209163c694d0a0e26b1f4bd87cfe1868c2ad25913ca73bdf75fbb1a00e001a053bfee286521c9e5d8feef guile3.diff
"