[arch-commits] Commit in opencv/trunk (PKGBUILD opencv.install)

Ray Rashif schiv at archlinux.org
Thu Jul 7 21:35:54 UTC 2011


    Date: Thursday, July 7, 2011 @ 17:35:53
  Author: schiv
Revision: 130710

add friendly post-install msg tipping about split pkgs

Added:
  opencv/trunk/opencv.install
Modified:
  opencv/trunk/PKGBUILD

----------------+
 PKGBUILD       |    2 ++
 opencv.install |   12 ++++++++++++
 2 files changed, 14 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-07 21:28:56 UTC (rev 130709)
+++ PKGBUILD	2011-07-07 21:35:53 UTC (rev 130710)
@@ -62,6 +62,8 @@
 }
 
 package_opencv() {
+  install=$pkgname.install
+
   cd "$srcdir/$_realname-$pkgver"
 
   make DESTDIR="$pkgdir" install

Added: opencv.install
===================================================================
--- opencv.install	                        (rev 0)
+++ opencv.install	2011-07-07 21:35:53 UTC (rev 130710)
@@ -0,0 +1,12 @@
+post_install() {
+	echo "==> Documentation and samples are in separate packages:"
+	echo
+	echo "* opencv-docs"
+	echo "* opencv-samples"
+}
+
+post_upgrade() {
+	post_install
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list