milis/talimatname/genel/gcolor2/talimat

22 lines
662 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
# Description: A simple GTK+2 color selector
# URL: http://gcolor2.sourceforge.net/
2017-01-31 01:37:09 +01:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# Depends on: gtk2
name=gcolor2
version=0.4
release=1
2017-01-31 01:37:09 +01:00
source=(http://downloads.sourceforge.net/project/gcolor2/gcolor2/0.4/gcolor2-0.4.tar.gz
2016-02-24 01:27:23 +01:00
http://downloads.nutyx.org/files/patchs/$name/gcolor2.desktop
http://downloads.nutyx.org/files/patchs/$name/gcolor2-amd64-1.patch)
2017-01-31 01:37:09 +01:00
2016-02-24 01:27:23 +01:00
build() {
cd $name-$version
[ "`uname -m`" == "x86_64" ] && (patch -p1 < ../gcolor2-amd64-1.patch)
sed -i 's/\[:space:\]/[&]/g' configure
./configure --prefix=/usr
2017-01-31 01:37:09 +01:00
make
2016-02-24 01:27:23 +01:00
make DESTDIR=$PKG install
install -D $SRC/gcolor2.desktop -m644 $PKG/usr/share/applications/gcolor2.desktop
}