summaryrefslogtreecommitdiff
path: root/~fauno/localepurge/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-09-14 00:10:43 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-09-14 00:10:43 -0300
commitc9f5e17a636f4f4604a9d46272b063db0a41252a (patch)
treeda3f3e709906788ceda6b04ee633ed7e48ce14fa /~fauno/localepurge/PKGBUILD
parentb3a5792c2e6955ba0e1c49af51bbfa4479f79821 (diff)
localepurge
Diffstat (limited to '~fauno/localepurge/PKGBUILD')
-rwxr-xr-x~fauno/localepurge/PKGBUILD35
1 files changed, 17 insertions, 18 deletions
diff --git a/~fauno/localepurge/PKGBUILD b/~fauno/localepurge/PKGBUILD
index 61386db71..263776a01 100755
--- a/~fauno/localepurge/PKGBUILD
+++ b/~fauno/localepurge/PKGBUILD
@@ -2,33 +2,32 @@
# Contributor: Dincer Celik <dincer@bornovali.com>
pkgname=localepurge
-pkgver=0.6.2+nmu2
-pkgrel=3
+pkgver=0.6.3
+pkgrel=2
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')
+ "http://fgr.bitbucket.org/im/localepurge-arch/${pkgname}.patch"
+ "http://fgr.bitbucket.org/im/localepurge-arch/${pkgname}.8.patch"
+ "http://fgr.bitbucket.org/im/localepurge-arch/${pkgname}.config.patch"
+ "http://fgr.bitbucket.org/im/localepurge-arch/locale.nopurge")
+sha256sums=('02f7e4a8b5919221a736abb3a937dffc48ffd275f0968e56612d518e1e69c30b'
+ '3958818b2d54c9ca32a1974d757c3303b6e8e1b81d4302dfaec8b8a7af54d17d'
+ '3d45b1da93a0fc30dd3ae28d4ef7b319340c5ebaa302f4e375793934262e61fc'
+ '1cf4c0e9651589502f953ae25654e5b5347de18995055adfb7a6d183a1c4c912'
+ 'b9c28be93fa47d4f0315972159e501d9eef28bbab7ffe6e8e7c4a13c359f35e8')
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
+ patch -uN ${srcdir}/${pkgname}/usr/sbin/localepurge < ${srcdir}/localepurge.patch
+ patch -uN ${srcdir}/${pkgname}/debian/localepurge.8 < ${srcdir}/localepurge.8.patch
+ patch -uN ${srcdir}/${pkgname}/debian/localepurge.config < ${srcdir}/localepurge.config.patch
+ install -D -m755 ${srcdir}/${pkgname}/usr/sbin/localepurge ${pkgdir}/usr/sbin/localepurge
+ install -D -m644 ${srcdir}/${pkgname}/debian/localepurge.8 ${pkgdir}/usr/share/man/man8/localepurge.8
+ install -D -m755 ${srcdir}/${pkgname}/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