summaryrefslogtreecommitdiff
path: root/~fauno
diff options
context:
space:
mode:
Diffstat (limited to '~fauno')
-rw-r--r--~fauno/localepurge/PKGBUILD39
-rw-r--r--~fauno/notmuch/PKGBUILD21
2 files changed, 48 insertions, 12 deletions
diff --git a/~fauno/localepurge/PKGBUILD b/~fauno/localepurge/PKGBUILD
new file mode 100644
index 000000000..61386db71
--- /dev/null
+++ b/~fauno/localepurge/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Francesco Groccia <frgroccia gmail.com>
+# Contributor: Dincer Celik <dincer@bornovali.com>
+
+pkgname=localepurge
+pkgver=0.6.2+nmu2
+pkgrel=3
+pkgdesc="Script to remove disk space wasted for unneeded localizations."
+arch=('any')
+url="http://packages.debian.org/source/sid/localepurge"
+license=('GPL')
+backup=('etc/locale.nopurge')
+source=("http://ftp.de.debian.org/debian/pool/main/l/localepurge/${pkgname}_${pkgver}.tar.gz"
+ "http://fgr.bitbucket.org/im/${pkgname}.patch"
+ "http://fgr.bitbucket.org/im/${pkgname}.8.patch"
+ "http://fgr.bitbucket.org/im/${pkgname}.config.patch"
+ "http://fgr.bitbucket.org/im/locale.nopurge")
+sha1sums=('a23f77bc770483b3d6f45d1d7caffad8c0891655'
+ '6e2165f3bb8cf2c463816849a973ea088398605f'
+ '3ac6c0a3e30395e6ca1c1fd8cc530fdd84e2c98e'
+ 'ec56640d9bf1a908bac4884aa7a2ecde0ee33c8a'
+ 'ab47efc3f07d7224382e95d3a5b25355058869b4')
+
+build()
+{
+ #cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -uN ${srcdir}/${pkgname}-${pkgver}/usr/sbin/localepurge < ${srcdir}/localepurge.patch
+ patch -uN ${srcdir}/${pkgname}-${pkgver}/debian/localepurge.8 < ${srcdir}/localepurge.8.patch
+ patch -uN ${srcdir}/${pkgname}-${pkgver}/debian/localepurge.config < ${srcdir}/localepurge.config.patch
+ install -D -m755 ${srcdir}/${pkgname}-${pkgver}/usr/sbin/localepurge ${pkgdir}/usr/sbin/localepurge
+ install -D -m644 ${srcdir}/${pkgname}-${pkgver}/debian/localepurge.8 ${pkgdir}/usr/share/man/man8/localepurge.8
+ install -D -m755 ${srcdir}/${pkgname}-${pkgver}/debian/localepurge.config ${pkgdir}/usr/sbin/localepurge.config
+ install -D -m644 locale.nopurge ${pkgdir}/etc/locale.nopurge
+ if [ ! -e /var/cache/localepurge/localelist ]; then
+ find /usr/share/locale -maxdepth 1 -type d -name "*" -printf "%f\n" | grep "^[a-z]" | cut -d" " -f1 | sort -u > ${srcdir}/localelist
+ else
+ cp /var/cache/localepurge/localelist ${srcdir}/localelist
+ fi
+ install -D -m644 ${srcdir}/localelist ${pkgdir}/var/cache/localepurge/localelist
+}
diff --git a/~fauno/notmuch/PKGBUILD b/~fauno/notmuch/PKGBUILD
index 6e9c92ea4..95270b3d4 100644
--- a/~fauno/notmuch/PKGBUILD
+++ b/~fauno/notmuch/PKGBUILD
@@ -3,25 +3,26 @@
# Maintainer: Richard Murri <admin@richardmurri.com>
pkgname=notmuch
-pkgver=0.11.1
+pkgver=0.12
pkgrel=1
pkgdesc="Notmuch is not much of an email program"
arch=(i686 x86_64 mips64el)
url="http://notmuchmail.org/"
license=('GPL3')
depends=('xapian-core' 'gmime' 'talloc')
-makedepends=('python2' 'emacs-nox' 'gnupg' 'ruby' 'pkgconfig')
+makedepends=('python2' 'emacs' 'gnupg' 'ruby' 'pkgconfig')
optdepends=('emacs: for using the emacs interface'
'vim: for using the vim interface'
'python2: for using the python bindings'
'ruby: for using the ruby bindings'
'gnupg: for email encryption')
-source=("https://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-${pkgrel}-any.src.tar.xz"
- # "http://notmuchmail.org/releases/${pkgname}-${pkgver}.tar.gz"
- )
+options=(!distcc !makeflags)
+
+source=("http://notmuchmail.org/releases/${pkgname}-${pkgver}.tar.gz")
+md5sums=('466974db1d8a215c6a2d7cca7c969b4f')
build() {
- cd "$srcdir/${pkgname}-${pkgver}"
+ cd "$srcdir/${pkgname}-"*
./configure --prefix=/usr --sysconfdir=/etc
make
@@ -32,12 +33,12 @@ build() {
}
check() {
- cd "$srcdir/${pkgname}-${pkgver}"
+ cd "$srcdir/${pkgname}-"*
make test
}
package(){
- cd "$srcdir/${pkgname}-${pkgver}"
+ cd "$srcdir/${pkgname}-"*
make DESTDIR="$pkgdir/" LIBDIR_IN_LDCONFIG=0 install
install -D notmuch $pkgdir/usr/sbin/notmuch
@@ -62,7 +63,3 @@ package(){
sed -i -e 's,/site_ruby,,g' Makefile
make prefix=${pkgdir}/usr install
}
-md5sums=('764abeb6e277c4c03bd64914c72d89a8'
- '886b9fed1326c82aa223b0cfaf717522'
- 'e36987a69d0c1e57570f5a854054a729')
-md5sums=('764abeb6e277c4c03bd64914c72d89a8')