summaryrefslogtreecommitdiff
path: root/pcr/tox-prpl/PKGBUILD
diff options
context:
space:
mode:
authorIsaac David <isacdaavid@isacdaavid.info>2017-10-24 11:03:51 -0500
committerIsaac David <isacdaavid@isacdaavid.info>2017-10-24 11:05:15 -0500
commit20ee079f8f661a98dc01755deadabca69f35becc (patch)
tree480dedb80c00732bc0ae6ec8b039401a26a38e73 /pcr/tox-prpl/PKGBUILD
parent60c7b095ba6ea1c042c5222d5e6e0aab8cf226e6 (diff)
downloadabslibre-20ee079f8f661a98dc01755deadabca69f35becc.tar.gz
abslibre-20ee079f8f661a98dc01755deadabca69f35becc.tar.bz2
abslibre-20ee079f8f661a98dc01755deadabca69f35becc.zip
tox-prpl: add new package to [pcr]
Diffstat (limited to 'pcr/tox-prpl/PKGBUILD')
-rw-r--r--pcr/tox-prpl/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/pcr/tox-prpl/PKGBUILD b/pcr/tox-prpl/PKGBUILD
new file mode 100644
index 000000000..88b093974
--- /dev/null
+++ b/pcr/tox-prpl/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer (AUR): Christian Hesse <mail@eworm.de>
+# Maintainer: Isaac David <isacdaavid@at@isacdaavid@dot@info>
+
+pkgname=tox-prpl
+pkgver=0.5.1
+pkgrel=1
+pkgdesc='Tox protocol plugin for pidgin / libpurple'
+arch=('i686' 'x86_64' 'armv7h')
+url='http://tox.dhs.org/'
+license=('GPL3')
+depends=('libpurple' 'toxcore')
+makedepends=('git' 'libconfig')
+optdepends=('pidgin: Use tox in pidgin messenger')
+options=('!libtool')
+conflicts=('tox-prpl')
+provides=('tox-prpl')
+
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jin-eld/${pkgname}/archive/v${pkgver}.tar.gz"
+ 'tox_callback_user_data_handling.patch')
+sha256sums=('51d18bd7c6a39991b70ed8aacc165796713fb252f7438498794a65abf80ce935'
+ 'f2d07bdfa0ddc01fdcb83be51cb29da135e81a748c34b5c51f2c42868537d478')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ patch -Np1 < ../tox_callback_user_data_handling.patch
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ autoreconf -i
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}