summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorkaptoxic2016-01-09 02:22:52 +0100
committerkaptoxic2016-01-09 02:22:52 +0100
commita123b59b9bb3f3c413d917307ec49750466910fa (patch)
tree446e752aa15b903abd816173fdd565f495ffcc24 /PKGBUILD
downloadaur-torchat2-libpurple-git.tar.gz
Revive original package
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5a1351ffe07
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Techmeology <techmeology@techmeology.co.uk>
+pkgname=torchat2-libpurple-git
+pkgver=480.aab4643
+pkgrel=1
+pkgdesc="Libpurple plugin for Torchat v2 - an IM client built on top of TOR"
+arch=('any')
+url="https://github.com/prof7bit/TorChat"
+license=('unknown')
+depends=('libpurple')
+makedepends=('fpc' 'git')
+source=(git+https://github.com/prof7bit/TorChat.git)
+md5sums=('SKIP')
+
+pkgver() {
+ cd "TorChat"
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd "$srcdir/TorChat"
+ make purple
+}
+
+package() {
+ cd "$srcdir/TorChat"
+ make PREFIX="$pkgdir/usr/" installpurple
+}