36 lines
802 B
Text
Executable file
36 lines
802 B
Text
Executable file
APP=gpaint
|
|
VERSION=0.3.2
|
|
BUILD=1sml
|
|
HOMEPAGE="https://www.gnu.org/software/gpaint/"
|
|
DOWNLOAD="ftp://alpha.gnu.org/gnu/gpaint/gpaint-2-0.3.2.tar.gz"
|
|
DESC="Simple and lightweight alternative to MS-paint written in GTK2"
|
|
REQUIRES="gtk2 "
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $APP-$VERSION
|
|
|
|
tar xf $SRCDIR/$APP-$VERSION.tar.?z*
|
|
cd $APP-$VERSION
|
|
fixbuilddirpermissions
|
|
|
|
sed -i 's/GTK_RESPONSE_DISCARD/GTK_RESPONSE_NO/' src/drawing.c
|
|
|
|
./configure \
|
|
--prefix="" \
|
|
--sysconfdir=/etc \
|
|
--disable-nls
|
|
|
|
make
|
|
make install DESTDIR=$PKG
|
|
|
|
cp COPYING $PKGDOCS/
|
|
|
|
mv $PKG/bin/gpaint-2 $PKG/bin/gpaint
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
SHA512SUMS="
|
|
6e8de4793e6e74676efbf190b117af0de1af8320c60ae160092c9d0fb7977215979abf607ffb172b2cb99eb50dece481d008bb42c0062d65023915290c26c397 gpaint-0.3.2.tar.lz
|
|
"
|