milis/talimatname/genel/n/nitroshare/talimat

30 lines
833 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Ağ üzerinden dosya paylaşma uygulaması
2017-10-07 20:27:42 +02:00
# URL: https://nitroshare.net
2017-10-27 20:46:27 +02:00
# Paketçi: Cihan Alkan
# Gerekler:qt5 libnotify
2017-10-07 20:27:42 +02:00
2017-10-28 14:10:23 +02:00
isim=nitroshare
surum=0.3.3
devir=1
2017-10-07 20:27:42 +02:00
2017-10-28 14:10:23 +02:00
kaynak=(https://github.com/nitroshare/nitroshare-desktop/archive/$surum.tar.gz::$isim-$surum.tar.gz
2017-10-07 20:27:42 +02:00
https://raw.githubusercontent.com/oltulu/milis/master/nitroshare/aboutdialog.cpp
2017-10-28 14:10:23 +02:00
https://raw.githubusercontent.com/oltulu/milis/master/nitroshare/tr.ts::$isim-tr.ts)
2017-10-07 20:27:42 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
mv $isim-tr.ts $isim-desktop-$surum/src/data/ts/tr.ts
mv aboutdialog.cpp $isim-desktop-$surum/src/application/
cd $isim-desktop-$surum
2017-10-07 20:27:42 +02:00
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
make
make DESTDIR="$PKG" install
# lisans
install -Dm644 \
"LICENSE.txt" \
2017-10-28 14:10:23 +02:00
"$PKG/usr/share/licenses/$isim/LICENSE.txt"
rm /sources/$surum.tar.gz
2017-10-07 20:27:42 +02:00
}