diff --git a/ntfs-3g/PKGBUILD b/ntfs-3g/PKGBUILD index 9dce5dc43..7c4168b36 100644 --- a/ntfs-3g/PKGBUILD +++ b/ntfs-3g/PKGBUILD @@ -1,12 +1,11 @@ # # Platform Packages for Chakra, part of chakra-project.org # -# maintainer abveritas[at]chakra-project[dot]org> pkgname=ntfs-3g _realname=ntfs-3g_ntfsprogs -pkgver=2012.1.15 -pkgrel=5 +pkgver=2013.1.13 +pkgrel=1 pkgdesc="Stable read and write NTFS driver" url="http://www.tuxera.com" arch=('x86_64') @@ -17,7 +16,7 @@ options=('!libtool') conflicts=('ntfsprogs') provides=("ntfsprogs=${pkgver}") source=("http://www.tuxera.com/opensource/${_realname}-${pkgver}.tgz") -sha1sums=('8d55cf49afde172fefa369a0a85289e09c4d7bbb') +sha1sums=('8c12b7644d90ae9fb8d0aca0d7ebd5f8fac2c818') build() { cd "${srcdir}/${_realname}-${pkgver}" diff --git a/ttf-indic-otf/PKGBUILD b/ttf-indic-otf/PKGBUILD new file mode 100644 index 000000000..28cb85159 --- /dev/null +++ b/ttf-indic-otf/PKGBUILD @@ -0,0 +1,22 @@ +# Platform packages for Chakra + +pkgname=ttf-indic-otf +pkgver=0.2 +pkgrel=1 +pkgdesc='Indic Opentype Fonts collection' +url='http://www.indlinux.org/wiki/index.php/Downloads' +license=('GPL') +arch=('any') +replaces=('ttf-indic-fonts') +conflicts=('ttf-indic-fonts') +depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig') +source=("http://www.indlinux.org/downloads/files/indic-otf-${pkgver}.tar.gz") +sha1sums=('0f7ae06343a6cc757c20f5eb5b637654146e60a1') + +install=install + +package() { + cd "${srcdir}"/indic/OpenType + install -d "${pkgdir}"/usr/share/fonts/TTF + install -m644 *.ttf "${pkgdir}"/usr/share/fonts/TTF +} diff --git a/ttf-indic-otf/install b/ttf-indic-otf/install new file mode 100644 index 000000000..ffd10bacf --- /dev/null +++ b/ttf-indic-otf/install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale usr/share/fonts/TTF + mkfontdir usr/share/fonts/TTF + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +}