updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cups_cn / PKGBUILD
blobf284a5cbe9668aabe970d37d5f65a00d0f15d920
1 pkgname=cups_cn\r
2 pkgver=1.4.2\r
3 pkgrel=1\r
4 pkgdesc="CUPS zh_CN UI"\r
5 arch=(any)\r
6 depends=('cups')\r
7 url="http://archlive-pkg.googlecode.com"\r
8 license=("GPL")\r
9 source=(http://archlive-pkg.googlecode.com/files/cups-cn-$pkgver.tar.bz2)\r
10 backup=(etc/rc.d/cups)\r
12 build()\r
13 {\r
14         cd $srcdir/cups-cn-$pkgver\r
15         mkdir -p $pkgdir/usr/share/{cups/templates/zh_CN,cups/doc/zh_CN,locale/zh_CN}\r
16         mkdir -p $pkgdir/etc/rc.d\r
17         install -m 0444 files/doc/index.html $pkgdir/usr/share/cups/doc/zh_CN\r
18         install -m 0444 files/templates/* $pkgdir/usr/share/cups/templates/zh_CN\r
19         install -m 0444 files/cups_zh_CN.po $pkgdir/usr/share/locale/zh_CN\r
20         install -m 0755 files/cups $pkgdir/etc/rc.d\r
21         cd $pkgdir/usr/share/cups/templates\r
22         ln -sf zh_CN zh\r
23         cd $pkgdir/usr/share/cups/doc/\r
24         ln -sf zh_CN zh\r
25 }\r
26 md5sums=('93407ef4ffe2f306b773a216c606068a')\r