milis/talimatname/genel/n/nitroshare/talimat

30 lines
849 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
name=nitroshare
version=0.3.3
release=1
2017-10-07 21:18:20 +02:00
source=(https://github.com/nitroshare/nitroshare-desktop/archive/$version.tar.gz::$name-$version.tar.gz
2017-10-07 20:27:42 +02:00
https://raw.githubusercontent.com/oltulu/milis/master/nitroshare/aboutdialog.cpp
https://raw.githubusercontent.com/oltulu/milis/master/nitroshare/tr.ts::$name-tr.ts)
2017-10-27 23:59:41 +02:00
derle() {
2017-10-07 21:14:16 +02:00
mv $name-tr.ts $name-desktop-$version/src/data/ts/tr.ts
2017-10-07 20:27:42 +02:00
mv aboutdialog.cpp $name-desktop-$version/src/application/
cd $name-desktop-$version
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
make
make DESTDIR="$PKG" install
# lisans
install -Dm644 \
"LICENSE.txt" \
"$PKG/usr/share/licenses/$name/LICENSE.txt"
rm /sources/$version.tar.gz
}