summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core-testing/ntfs-3g/PKGBUILD3
-rw-r--r--abs/core-testing/ntfs-3g/ntfs-3g.install15
2 files changed, 17 insertions, 1 deletions
diff --git a/abs/core-testing/ntfs-3g/PKGBUILD b/abs/core-testing/ntfs-3g/PKGBUILD
index 738f131..d25ce4a 100644
--- a/abs/core-testing/ntfs-3g/PKGBUILD
+++ b/abs/core-testing/ntfs-3g/PKGBUILD
@@ -4,11 +4,12 @@
pkgname=ntfs-3g
pkgver=2009.4.4
-pkgrel=1
+pkgrel=2
pkgdesc="Stable read and write NTFS driver"
url="http://www.ntfs-3g.org/"
arch=('i686' 'x86_64')
license=('GPL2')
+install=ntfs-3g.install
depends=('glibc')
makedepends=('pkgconfig')
options=('!libtool')
diff --git a/abs/core-testing/ntfs-3g/ntfs-3g.install b/abs/core-testing/ntfs-3g/ntfs-3g.install
new file mode 100644
index 0000000..ad8cc1b
--- /dev/null
+++ b/abs/core-testing/ntfs-3g/ntfs-3g.install
@@ -0,0 +1,15 @@
+# arg 1: the new package version
+post_install() {
+ ln -s /sbin/mount.ntfs-3g /sbin/mount.ntfs
+}
+# arg 1: the new package version
+# arg 2: the old package version
+
+# arg 1: the old package version
+post_remove() {
+ rm -fr /sbin/mount.ntfs
+}
+
+op=$1
+shift
+$op $*