milis/talimatname/genel/d/dpaste/talimat

23 lines
592 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Opendht tabanlı yapıştır uygulaması 64kb en fazla.
# URL: https://github.com/sim590/dpaste
# Paketçi: milisarge
# Gerekler: gnutls opendht glibmm curlpp nlohmann-json libb64
# Grup: ağ
isim=dpaste
surum=0.3.3
devir=1
kaynak=(https://github.com/sim590/dpaste/archive/$surum.tar.gz::$isim-$surum.tar.gz)
derle() {
cd "$isim-$surum"
./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
}