summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Désaulniers2017-07-12 02:56:45 -0400
committerSimon Désaulniers2017-07-12 02:56:45 -0400
commit5830f95a184e54544020a3f6e2216e745f9e603d (patch)
treeb1b8a3b1a60656e9f46cda255c5770ce730d78dc
parentadfe3130f8a53b646068434501e27fef9bc68524 (diff)
downloadaur-5830f95a184e54544020a3f6e2216e745f9e603d.tar.gz
add new dependencies, patch json.hpp wrong include
-rw-r--r--PKGBUILD18
1 files changed, 13 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fc8c418bf3d..9dc883225ee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,14 @@
# Maintainer: Simon Désaulniers <rostydela@gmail.com>
pkgname='dpaste'
-pkgver=20161119
+pkgver=20170712
pkgrel=1
pkgdesc="A simple pastebin for light values (max 64KB) using OpenDHT distributed hash table."
-arch=('i686' 'x86_64')
+arch=('x86_64')
license=('GPL3')
url='https://github.com/sim590/dpaste'
source=('git://github.com/sim590/dpaste')
-makedepends=('opendht-git')
-makedepends_x86_64=('gnutls')
-makedepends_i686=('lib32-gnutls')
+depends=('gnutls' 'libb64' 'libcurlpp>=0.8.1' 'opendht-git' 'glibmm')
+makedepends=('git' 'nlohmann_json-git')
sha256sums=('SKIP')
pkgver() {
@@ -17,6 +16,11 @@ pkgver() {
git log -1 --format="%cd" --date=short | sed "s|-||g"
}
+prepare () {
+ cd "${srcdir}/dpaste"
+ git apply "${startdir}/include_dir.patch"
+}
+
build() {
cd "${srcdir}/dpaste"
./autogen.sh
@@ -26,6 +30,10 @@ build() {
package() {
cd "${srcdir}/dpaste"
+ _man_dest=${pkgdir}/usr/share/man/man1/dpaste.1
+ install -Dpvm 644 doc/dpaste.1 ${_man_dest}
+ gzip ${_man_dest}
+
install -Dpv src/dpaste ${pkgdir}/usr/bin/dpaste
}
# vim: ts=2 sw=2 et: