Created
April 28, 2013 08:53
-
-
Save shizeeg/5476334 to your computer and use it in GitHub Desktop.
Terminal emulator for directfb. Fixed PKGBUILD.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Jesse Jaara <gmail.com: jesse.jaara> | |
# Contributor: Shizeeg Unadequatov <shizeeque@gmail.com> | |
pkgname=dfbterm-git | |
pkgver=20121217 | |
pkgrel=1 | |
pkgdesc="Terminal emulator for directfb. Git version" | |
arch=('i686' 'x86_64') | |
url="http://www.directfb.org" | |
license=('LGPL') | |
depends=('lite-git' 'directfb') | |
makedepends=('git' 'automake<1.13' 'autoconf' 'libtool' 'pkg-config') | |
provides=('dfbterm') | |
conflicts=('dfbterm') | |
source=('dfbterm::git://git.directfb.org/git/directfb/programs/DFBTerm.git') | |
md5sums=('SKIP') | |
_gitname="dfbterm" | |
pkgver() { | |
cd "${_gitname}" | |
# generate version from git commit count | |
# echo "$(git rev-list --count makepkg).$(git rev-parse --short makepkg)" | |
# also you can generate version from tip date | |
echo $(git log -1 --date=short | grep Date | sed 's|[^0-9]||g') | |
} | |
build() { | |
cd "${_gitname}" | |
./autogen.sh --prefix=/usr | |
./configure | |
make | |
} | |
package() { | |
cd "${_gitname}" | |
make DESTDIR="${pkgdir}" install | |
find "${pkgdir}" -type d -name .git -exec rm -r '{}' + | |
} | |
#vim: set ts=2 sw=2 et: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems like it won't build with automake >= 1.13.