From 7bfa5ca742083d96824a960d729da42b944482c2 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Mon, 7 Jan 2013 13:20:52 +0100 Subject: [PATCH] add forgotten PKGBUILD: nbimg --- pkgbuild/nbimg/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgbuild/nbimg/PKGBUILD diff --git a/pkgbuild/nbimg/PKGBUILD b/pkgbuild/nbimg/PKGBUILD new file mode 100644 index 0000000..d2b224c --- /dev/null +++ b/pkgbuild/nbimg/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Your Name +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: