add forgotten PKGBUILD: nbimg

This commit is contained in:
Cedric Girard 2013-01-07 13:20:52 +01:00
parent 09b45b4beb
commit 7bfa5ca742
1 changed files with 27 additions and 0 deletions

27
pkgbuild/nbimg/PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
# Maintainer: Your Name <youremail@domain.com>
pkgname=nbimg
pkgver=1.1
pkgrel=1
pkgdesc="Allows to convert HTC Splash Screen images from NB to BMP and create NB splash screens from BMP format"
arch=('x86_64' 'i686')
url="http://pof.eslack.org/2008/07/03/nbimg-htc-splash-screen-tool/"
license=('GPL')
depends=()
makedepends=()
source=(http://pof.eslack.org/HTC/nbimg/$pkgname-$pkgver.tar.gz)
md5sums=('e1e49ef98311abfa8de7375294a1f1d9')
build() {
cd "$srcdir/$pkgname-$pkgver"
gcc -o nbimg nbimg.c
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -d "$pkgdir/usr/bin"
cp $srcdir/$pkgname-$pkgver/nbimg $pkgdir/usr/bin
}
# vim:set ts=2 sw=2 et: