Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Arch Linux PKGBUILD for gentoo 0.20.4
# Maintainer: Bartek Piotrowski <barthalion@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=gentoo
pkgver=0.20.4
pkgrel=1
pkgdesc="A lightweight file manager for GTK"
arch=('i686' 'x86_64')
url="http://www.obsession.se/gentoo/"
license=('GPL2')
depends=('gtk3' 'gamin')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('9e10f5ad00613b63eb02cde89506153d')
prepare() {
cd ${srcdir}/${pkgname}-${pkgver}
sed -e '/GTK_DISABLE_DEPRECATED/s/^/# /' -i configure.ac
autoreconf -fiv
}
build() {
cd ${srcdir}/${pkgname}-${pkgver}
export CPPFLAGS=-D_FORTIFY_SOURCE=-O
./configure --prefix=/usr --sysconfdir=/etc
sed -i 's/-Werror-implicit-function-declaration//g' configure
make
ln -s ${pkgname}-${pkgver}/mkinstalldirs ..
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make prefix=${pkgdir}/usr sysconfdir=${pkgdir}/etc install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.