diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-05-14 13:23:29 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-05-14 13:23:29 +0000 |
commit | 1074307c6b2e0b19a4661ed2530daf904b00bdd0 (patch) | |
tree | 9219dc812a17b6cec9c3a2df1d488fd4dce86941 /main/pidgin-otr | |
parent | d7ad26082fe135113ed43eda2f8aad26182a65b3 (diff) | |
download | aports-1074307c6b2e0b19a4661ed2530daf904b00bdd0.tar.bz2 aports-1074307c6b2e0b19a4661ed2530daf904b00bdd0.tar.xz |
main/pidgin-otr: moved from testing
Diffstat (limited to 'main/pidgin-otr')
-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 000000000..2020cf907 --- /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" |