2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: verilen komutları geri işletme-tarihçe
|
2017-06-27 14:34:15 +02:00
|
|
|
|
# URL: https://github.com/kazuho/unco
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: cmake
|
2017-06-27 14:34:15 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=unco
|
2017-06-27 14:34:15 +02:00
|
|
|
|
hesap=kazuho
|
2017-10-28 14:10:23 +02:00
|
|
|
|
surum=0.2.0
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=()
|
2017-06-27 14:34:15 +02:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-06-27 14:34:15 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
if [ ! -d $DERLEME_KAYNAKDIZIN/$isim ];then
|
|
|
|
|
git clone https://github.com/$hesap/$isim $DERLEME_KAYNAKDIZIN/$isim
|
2017-06-27 14:34:15 +02:00
|
|
|
|
else
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd $DERLEME_KAYNAKDIZIN/$isim
|
2017-06-27 14:34:15 +02:00
|
|
|
|
git pull
|
|
|
|
|
cd -
|
|
|
|
|
fi
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cp -r $DERLEME_KAYNAKDIZIN/$isim $SRC/
|
|
|
|
|
cd $SRC/$isim
|
2017-06-27 14:34:15 +02:00
|
|
|
|
|
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr .
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR="$PKG" install
|
|
|
|
|
}
|