milis/talimatname/genel/d/dpaste/talimat

22 lines
576 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: opendht tabanlı yapıştır uygulaması 64kb maks.
2017-08-06 03:25:25 +02:00
# URL: https://github.com/sim590/dpaste
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: gnutls opendht glibmm curlpp nlohmann-json libb64
2017-08-06 03:25:25 +02:00
2017-10-28 14:10:23 +02:00
isim=dpaste
surum=0.3.3
devir=1
kaynak=(https://github.com/sim590/dpaste/archive/$surum.tar.gz::$isim-$surum.tar.gz)
2017-08-06 03:25:25 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd "$isim-$surum"
2017-08-06 03:25:25 +02:00
./autogen.sh
./configure CPPFLAGS=-I/usr/include/nlohmann --disable-debug
make
_man_dest=${PKG}/usr/share/man/man1/dpaste.1
install -Dpvm 644 doc/dpaste.1 ${_man_dest}
gzip ${_man_dest}
install -Dpv src/dpaste ${PKG}/usr/bin/dpaste
}