mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
44 lines
1.3 KiB
Bash
44 lines
1.3 KiB
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=silicon
|
|
pkgver=1.2.0
|
|
pkgrel=4
|
|
pkgdesc="Auto image mounter (Iso, Squashfs and ... files )."
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.hyperray.net/hyperget/silicon-auto-image-mounter"
|
|
license=('GPL')
|
|
depends=('qt')
|
|
categories=('utils')
|
|
source=(http://www.kde-apps.org/CONTENT/content-files/106128-silicon.tar.gz)
|
|
md5sums=('36cd49d07defb9510a68469f143334b3')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname
|
|
|
|
# Build
|
|
make
|
|
|
|
# Binary
|
|
install -Dm755 silicon $pkgdir/usr/bin/silicon
|
|
|
|
# Configuration Files
|
|
cd ./files
|
|
install -Dm644 ./init/silicon $pkgdir/etc/rc.d/silicon
|
|
install -Dm644 ./share/config $pkgdir/usr/share/silicon/config
|
|
install -Dm644 config $pkgdir/etc/silicon/config
|
|
install -Dm644 database $pkgdir/etc/silicon/database
|
|
|
|
# Desktop Icon
|
|
install -Dm644 silicon.desktop $pkgdir/usr/share/applications/silicon.desktop
|
|
install -Dm644 silicon.png $pkgdir/usr/share/icons/hicolor/64x64/apps/silicon.png
|
|
|
|
# Mount Folder
|
|
install -d $pkgdir/media/silicon
|
|
} |