nbimg PKGBUILD updated to 1.2.1
This commit is contained in:
parent
f028e8ad57
commit
c8be6b3f4d
3 changed files with 27 additions and 15 deletions
10
.SRCINFO
10
.SRCINFO
|
@ -1,13 +1,15 @@
|
||||||
pkgbase = nbimg
|
pkgbase = nbimg
|
||||||
pkgdesc = Allows to convert HTC Splash Screen images from NB to BMP and create NB splash screens from BMP format
|
pkgdesc = Allows to convert HTC Splash Screen images from NB to BMP and create NB splash screens from BMP format
|
||||||
pkgver = 1.1
|
pkgver = 1.2.1
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = http://pof.eslack.org/2008/07/03/nbimg-htc-splash-screen-tool/
|
url = http://pof.eslack.org/2008/07/03/nbimg-htc-splash-screen-tool/
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
arch = i686
|
arch = i686
|
||||||
license = GPL
|
license = GPL3
|
||||||
source = http://pof.eslack.org/HTC/nbimg/nbimg-1.1.tar.gz
|
source = https://github.com/poliva/nbimg/archive/v1.2.1.tar.gz
|
||||||
md5sums = e1e49ef98311abfa8de7375294a1f1d9
|
source = Makefile.patch
|
||||||
|
md5sums = 4cff29b5437f909bba470e4f2b0b861b
|
||||||
|
md5sums = 24fe500b72243ab6d52776583e64fdfa
|
||||||
|
|
||||||
pkgname = nbimg
|
pkgname = nbimg
|
||||||
|
|
||||||
|
|
12
Makefile.patch
Normal file
12
Makefile.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff -Naur nbimg-1.2.1/Makefile nbimg-1.2.1.patched/Makefile
|
||||||
|
--- nbimg-1.2.1/Makefile 2012-06-21 09:40:47.000000000 +0200
|
||||||
|
+++ nbimg-1.2.1.patched/Makefile 2013-01-07 13:32:48.282389871 +0100
|
||||||
|
@@ -20,7 +20,7 @@
|
||||||
|
win32:
|
||||||
|
i586-mingw32msvc-gcc $(CFLAGS) $(PROGNAME).c -o $(PROGNAME).exe
|
||||||
|
|
||||||
|
-install: all
|
||||||
|
+install:
|
||||||
|
mkdir -p $(bindir)
|
||||||
|
$(INSTALL) $(PROGNAME) $(bindir)/$(PROGNAME)
|
||||||
|
mkdir -p $(docdir)/$(PROGNAME)/
|
20
PKGBUILD
20
PKGBUILD
|
@ -1,26 +1,24 @@
|
||||||
# Maintainer: Your Name <youremail@domain.com>
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||||
pkgname=nbimg
|
pkgname=nbimg
|
||||||
pkgver=1.1
|
pkgver=1.2.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Allows to convert HTC Splash Screen images from NB to BMP and create NB splash screens from BMP format"
|
pkgdesc="Allows to convert HTC Splash Screen images from NB to BMP and create NB splash screens from BMP format"
|
||||||
arch=('x86_64' 'i686')
|
arch=('x86_64' 'i686')
|
||||||
url="http://pof.eslack.org/2008/07/03/nbimg-htc-splash-screen-tool/"
|
url="http://pof.eslack.org/2008/07/03/nbimg-htc-splash-screen-tool/"
|
||||||
license=('GPL')
|
license=('GPL3')
|
||||||
depends=()
|
source=(https://github.com/poliva/nbimg/archive/v${pkgver}.tar.gz Makefile.patch)
|
||||||
makedepends=()
|
md5sums=('4cff29b5437f909bba470e4f2b0b861b'
|
||||||
source=(http://pof.eslack.org/HTC/nbimg/$pkgname-$pkgver.tar.gz)
|
'24fe500b72243ab6d52776583e64fdfa')
|
||||||
md5sums=('e1e49ef98311abfa8de7375294a1f1d9')
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
patch -p1 < ../Makefile.patch
|
||||||
gcc -o nbimg nbimg.c
|
make nbimg
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
install -d "$pkgdir/usr/bin"
|
make DESTDIR="$pkgdir/" install
|
||||||
cp $srcdir/$pkgname-$pkgver/nbimg $pkgdir/usr/bin
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue