Friday, May 28, 2010

How to submit a package to Aur Unsupported

Was asked to upload the MadPablo Openbox theme to AUR.

What you have to do.
Make the package.
What I had to do for this was to compress the usr/share/themes/maddpable/openbox-3 folder

and upload it to ompload.org; used gompload for that.
Result is a downloadlink at: http://omploader.org/vNGZoOA.bz2
Had to md5sum the madpablo.tar.bz2
or terminal in the directory of your PKGBUILD, and to generate md5sum do this:

Code: makepkg -g >> PKGBUILD

Result: f8bd9530b5ae503cb773dfa66a1d51d0

Now I can edit PKGBUILD :
# Contributor: Pablo

pkgname=openbox-madpablo-theme
pkgver=20100528
pkgrel=1
pkgdesc="MadPablo OpenBox Theme"
arch=('any')
url="http://archbang.47.forumer.com/viewtopic.php?f=28&t=278"
license=('GPL')
depends=('openbox')
source=(http://omploader.org/vNGZoOA.bz2)
md5sums=('f8bd9530b5ae503cb773dfa66a1d51d0')

build() {
install -d ${pkgdir}/usr/share/themes/
cp -r ${srcdir}/madpablo ${pkgdir}/usr/share/themes/ || return 1
}

The url is provided as link for more info about the theme:
http://archbang.47.forumer.com/viewtopic.php?f=28&t=278.
pkgver=20100528 just is the date of doing this.
Now I have to make a folder openbox-madpablo-theme
and put only the PKGBUILD in it and compress this to
openbox-madpablo-theme.tar.gz

Now I have to register at http://aur.archlinux.org/account.php
And upload the openbox-madpablo-theme.tar.gz file and give a comment if needed.



This is the result: http://aur.archlinux.org/packages.php?ID=37577


When a package is submitted by someone else and is not maintained you can submit a new
PKGBUILD in the form of a code pastebin: http://aur.pastebin.com/

No comments:

Blog Archive