Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=7de188a0942ff02e0763b40b055bcd9996a3f1fb
commit 7de188a0942ff02e0763b40b055bcd9996a3f1fb
Author: crazy <[EMAIL PROTECTED]>
Date: Fri Feb 8 12:45:50 2008 +0100
xpad-2.14-1-i686
* New package form jedifox ( with minor fixes from me )
diff --git a/source/xapps-extra/xpad/FrugalBuild
b/source/xapps-extra/xpad/FrugalBuild
new file mode 100644
index 0000000..c5602e7
--- /dev/null
+++ b/source/xapps-extra/xpad/FrugalBuild
@@ -0,0 +1,18 @@
+# Compiling Time: 0.05 SBU
+# Maintainer: crazy <[EMAIL PROTECTED]>
+# Contributor: jedifox <[EMAIL PROTECTED]>
+
+pkgname=xpad
+pkgver=2.14
+pkgrel=1
+pkgdesc="Xpad is a sticky pad, or post-it note, system for X"
+_F_sourceforge_broken_up2date="1"
+_F_sourceforge_ext=".tar.bz2"
+Finclude sourceforge
+depends=('libice' 'gtk+2' 'freetype2' 'libxau' 'libxdmcp' 'libxdamage'
'libxext' 'libxml2')
+options=('scriptlet')
+groups=('xapps-extra')
+archs=('i686')
+sha1sums=('c4c71216d6834a69df3fae9de14ac3fee19ea27c')
+
+# optimization OK
diff --git a/source/xapps-extra/xpad/xpad.install
b/source/xapps-extra/xpad/xpad.install
new file mode 100644
index 0000000..4818058
--- /dev/null
+++ b/source/xapps-extra/xpad/xpad.install
@@ -0,0 +1,32 @@
+post_install()
+{
+ echo -n "updating desktop database..."
+ if update-desktop-database > /dev/null 2>&1 ; then
+ echo " done."
+ else
+ echo " failed."
+ fi
+
+
+ echo -n "updating hicolor icon cache..."
+ if gtk-update-icon-cache -f -t /usr/share/icons/hicolor > /dev/null
2>&1 ; then
+ echo " done."
+ else
+ echo " failed."
+ fi
+}
+
+post_upgrade()
+{
+ post_install
+}
+
+post_remove()
+{
+ post_install
+}
+
+op=$1
+shift
+
+$op $*
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git