You are not logged in.
Pages: 1
Hi all, wanted to install cowbell, but the AUR link was broken, so I grabbed the archived version, but the PKGBUILD refernced an obsolete download link. I looked up the package, and found it on launchpad.com, and modified the PKGBUILD to reference that site, and it worked to install to my laptop. I was going to upload it as a new AUR package, but wanted to make sure I was doing eveything correctly, so I decide to throw it up )here( so others can critique me first.
Reason for edit: Fixed typos, etc.
Last edited by rassawyer (2015-11-19 22:08:20)
Offline
If you want comments on your package, there's no point posting the already compiled package. No-one can tell how it was created.
Post the actual PKGBUILD instead.
Offline
ok thanks!!
# Maintainer: TDY <tdy@archlinux.info>
# Contributor: William Rea <sillywilly@gmail.com>
# Contributor: Stefan Husmann <stefan.husmann@t-systems.com>
pkgname=cowbell
pkgver=0.2.7.1
pkgrel=6
pkgdesc="An elegant music organizer"
arch=('i686' 'x86_64')
url="http://www.more-cowbell.org/"
license=('GPL')
depends=('gtk-sharp-2' 'hicolor-icon-theme' 'taglib')
makedepends=('gettext' 'intltool>=0.21' 'pkgconfig>=0.9.0')
options=('!libtool')
install=$pkgname.install
source=(https://launchpad.net/ubuntu/+archive/primary/+files/cowbell_0.2.7.1.orig.tar.gz)
md5sums=('fcf32bcf60be2ca204519192eb26bacc')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:
that is the PKGBUILD really all I did was modify it to point to the working download, and update the hash to the download.
Reason for editing: fix typos, add information
Last edited by rassawyer (2015-12-05 21:27:11)
Offline
Pages: 1