You are not logged in.

#1 2012-04-23 15:37:06

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 414

Request for Samsung Smartpanel

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

#2 2012-05-02 18:04:34

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 414

Re: Request for Samsung Smartpanel

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

#3 2013-03-10 21:36:49

nuc
Member
Registered: 2012-04-26
Posts: 115

Re: Request for Samsung Smartpanel

I'd also need this for my Samsung printer. Unfortunately I can't help.

Offline

#4 2013-03-10 23:19:23

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,662

Re: Request for Samsung Smartpanel

Can you post install.sh somewhere? (If this is against the licence.)


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

#5 2013-03-10 23:26:12

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 438

Re: Request for Samsung Smartpanel

siriusb wrote:

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

Board footer

Powered by FluxBB