You are not logged in.
Hi,
I'd like to install SmartPanel for my printer and thought I could do it but...
I read the wiki, checked other PKGBUILDs. I'm not sure how to pass the architecture to install.sh etc.
If someone has time and energy I'd really appreciate some help.
http://www.samsung.com/uk/support/model … -downloads
The unified driver is installed to /opt.
My pkgbuild:
# Maintainer: Somebody <somebody[at]foo[dot]tld>
pkgname=smartpanel
pkgver=0.93
pkgrel=1
pkgdesc="Samsung SmartPanel"
url="http://www.samsung.com"
arch=('x86_64' 'i686')
license=('custom:samsung')
depends=('samsung-unified-driver')
source=("Smartpanel_0.93.tar.gz")
md5sums=('ee723409ce025cc00a5bfad7c64111ad')
if [ "$CARCH" = "x86_64" ]; then
LIBDIRCUSTOM="lib64"
else
LIBDIRCUSTOM="lib"
fi
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cmake ./ -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
# vim:set ts=2 sw=2 et:
Thanks
Offline
Well, it seems all of you consider my request a stupid question, but I really need help.
After some more reading and trying I'd like to ask: Do I have to rewrite all the commands and functions placed in install.sh in PKGBUILD's build() function? I can't see any other way to achive my goal.
Offline
I'd also need this for my Samsung printer. Unfortunately I can't help.
Offline
Can you post install.sh somewhere? (If this is against the licence.)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Do I have to rewrite all the commands and functions placed in install.sh in PKGBUILD's build() function? I can't see any other way to achive my goal.
I haven't looked at this particular script, but this is commonly done for uncooperative install scripts.
Offline