summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
-rw-r--r--nxfilter.install1
3 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d24377f86b13..57fd3fc4518a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nxfilter
pkgdesc = NxFilter DNS filter
pkgver = 4.1.5
- pkgrel = 3
+ pkgrel = 4
url = http://nxfilter.org/p3/
install = nxfilter.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 97c3be2cfbd1..30b14c9317a8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Erwin
pkgname=nxfilter
pkgver=4.1.5
-pkgrel=3
+pkgrel=4
pkgdesc="NxFilter DNS filter"
arch=('i686' 'x86_64')
url=http://nxfilter.org/p3/
@@ -25,6 +25,9 @@ package() {
# Provides the program itself
cp -dr --no-preserve=ownership "$srcdir/nxfilter/nxfilter" "$pkgdir"
+ # remove zip file
+ find $srcdir -name "nxfilter.zip" -type f -exec rm "{}" \;
+
}
diff --git a/nxfilter.install b/nxfilter.install
index 8a14dfadceb7..6d466c2cfb57 100644
--- a/nxfilter.install
+++ b/nxfilter.install
@@ -9,7 +9,6 @@ post_upgrade() {
chmod 755 /nxfilter/bin/*.sh
/nxfilter/post_upgrade.sh
chmod 644 /nxfilter/post_upgrade.sh
- find $HOME/.cache -name "nxfilter.zip" -type f -exec rm "{}" \;
}
post_remove() {