diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/pidgin-otr/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/main/pidgin-otr/APKBUILD b/main/pidgin-otr/APKBUILD new file mode 100644 index 0000000000..2020cf907b --- /dev/null +++ b/main/pidgin-otr/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=pidgin-otr +pkgver=4.0.0 +pkgrel=0 +pkgdesc="Off The Record Messaging, an encryption plugin for pidgin to provide secure IM conversations" +url="http://otr.cypherpunks.ca/" +arch="all" +license="LGPL" +depends="pidgin" +makedepends="libotr-dev gtk+-dev intltool pidgin-dev" +install= +subpackages="$pkgname-lang" +source="http://www.cypherpunks.ca/otr/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir/$pkgname-$pkgver" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm "$pkgdir"/usr/lib/pidgin/*.la || return 1 +} + +md5sums="eadb953376acc474e56041d4c12aa2c8 pidgin-otr-4.0.0.tar.gz" +sha256sums="d56b3f092dbe9ee6597641c7d2dd294884dc04ba47aaf4ec571cd54977df4691 pidgin-otr-4.0.0.tar.gz" +sha512sums="5f74da77d0c72576bb4a510b41bc70f041ab2555554b4d37376073f2edee8e1021c153cf5cc3d32bd276bdee643e9e7d881026628240a8757e5f8974c200f3d7 pidgin-otr-4.0.0.tar.gz" |