diff options
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/dovecot-deleted-to-trash-plugin/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/unmaintained/dovecot-deleted-to-trash-plugin/APKBUILD b/unmaintained/dovecot-deleted-to-trash-plugin/APKBUILD new file mode 100644 index 0000000000..91a8028ef9 --- /dev/null +++ b/unmaintained/dovecot-deleted-to-trash-plugin/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=dovecot-deleted-to-trash-plugin +pkgver=0.3 +pkgrel=1 +pkgdesc="Copy deleted email to trash for broken IMAP clients (Outlook)" +url="http://wiki2.dovecot.org/Plugins/deleted-to-trash" +arch="all" +license="unknown" +depends="" +makedepends="dovecot-dev" +install="" +subpackages="" +source="http://dev.alpinelinux.org/archive/dovecot-deleted-to-trash-plugin/dovecot-deleted-to-trash-plugin-$pkgver.tar.bz2" + +_builddir="$srcdir"/dovecot-deleted-to-trash-plugin-$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" + make +} + +package() { + cd "$_builddir" + make install DESTDIR="$pkgdir" \ + DOVECOT_IMAP_PLUGIN_PATH=/usr/lib/dovecot +} + +md5sums="63bdfa71312abc2dcaae5cfedd1db622 dovecot-deleted-to-trash-plugin-0.3.tar.bz2" |