You are not logged in.
My PKGBUILD simply needs to copy files from a zip file to /usr/share/java/Jalbum/skins/BananAlbum. Here is what I have so far and it seems to work just fine. Is there a more elegant way to do it?
pkgname=bananalbum
pkgver=6.1.4
pkgrel=1
pkgdesc="Very elegant and sexy flash based JAlbum skin."
arch=('i686' 'x86_64')
url="http://www.bananalbum.com"
license=("freeware")
depends=('jalbum')
source=("BananAlbum_v6.1.4.zip::http://jalbum.net/web/GetSkinFile?versionId=1253&type=zip")
#source=(http://jalbum.net/web/GetSkinFile?versionId=1253&type=zip)
md5sums=('dd4d860769db0da6f16aa5b13fd41772')
build() {
install -dm755 $pkgdir/usr/share/java/Jalbum/skins/BananAlbum
cp -r $srcdir/BananAlbum_v$pkgver/* $pkgdir/usr/share/java/Jalbum/skins/BananAlbum
}
Last edited by graysky (2009-05-27 05:58:37)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Change the cp line to install -m644 $srcdir/BananAlbum_v$pkgver/* $pkgdir/usr/share/java/Jalbum/skins/BananAlbum || return 1, maybe?
Last edited by DevoidOfWindows (2009-05-27 06:05:45)
Offline
@Devoid - I edited my original post having discovered the error of my way
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
And I have edited my post after discovering mine.
Offline
@Devoid - Actually, I was wrong about the 644... if I look at the other skin directories they are all 755 so what I have works just fine. Is there a strong reason not to use the cp command?
Last edited by graysky (2009-05-27 06:12:01)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline