summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-06-29 03:16:00 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-06-29 03:16:00 (GMT)
commit27eacb8e624358f8fd3f3795ed3ab432194e88ee (patch)
treea7e917690db77a2f80d2314d11478633a24e1598
parent234112a91175666fe6395e6f2164b915b6208aed (diff)
downloadlinhes_pkgbuild-27eacb8e624358f8fd3f3795ed3ab432194e88ee.zip
linhes_pkgbuild-27eacb8e624358f8fd3f3795ed3ab432194e88ee.tar.gz
linhes_pkgbuild-27eacb8e624358f8fd3f3795ed3ab432194e88ee.tar.bz2
Added install file for ntfs-3g.
-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 $*