mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
0af05b343a
renamed checksums to kdeapps.sums added for all packages the pgp signature for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
39 lines
1.3 KiB
Bash
39 lines
1.3 KiB
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
pkgname=nvidia-cg-toolkit
|
|
pkgver=3.1
|
|
_date="February2012"
|
|
pkgrel=1
|
|
pkgdesc="NVIDIA Cg libraries"
|
|
arch=('i686' 'x86_64')
|
|
url="http://developer.nvidia.com/object/cg_toolkit.html"
|
|
license=('custom')
|
|
depends=('glibc' 'mesa')
|
|
screenshot=('http://http.developer.nvidia.com/CgTutorial/elementLinks/fig1_15.jpg')
|
|
source=(http://developer.download.nvidia.com/cg/Cg_${pkgver}/Cg-${pkgver}_${_date}_${CARCH/i686/x86}.tgz)
|
|
[ "$CARCH" = "i686" ] &&
|
|
md5sums=('af5a3bd72b213b20bf33cf104c83012d')
|
|
[ "$CARCH" = "x86_64" ] &&
|
|
md5sums=('d50dc4e6c68bb93ccfd1a66c139dd6eb')
|
|
|
|
build() {
|
|
return 0
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 ${srcdir}/usr/bin/cgc ${pkgdir}/usr/bin/cgc
|
|
install -dm755 ${pkgdir}/usr/include/Cg
|
|
install -m644 ${srcdir}/usr/include/Cg/* ${pkgdir}/usr/include/Cg
|
|
install -dm755 ${pkgdir}/usr/lib
|
|
[ "$CARCH" = "i686" ] && install -m644 ${srcdir}/usr/lib/* ${pkgdir}/usr/lib
|
|
[ "$CARCH" = "x86_64" ] && install -m644 ${srcdir}/usr/lib64/* ${pkgdir}/usr/lib
|
|
install -Dm644 ${srcdir}/usr//local/Cg/docs/license.txt ${pkgdir}/usr/share/licenses/nvidia-cg-toolkit/license.txt
|
|
cp -r ${srcdir}/usr/local/Cg ${pkgdir}/usr/share/
|
|
find $pkgdir/usr/share/ -type d -exec chmod -R 755 '{}' ';'
|
|
find $pkgdir/usr/share/ -type f -exec chmod -R 644 '{}' ';'
|
|
}
|
|
|