nbimg movet to AUR4 and submodule

This commit is contained in:
Cedric Girard 2015-06-15 12:10:31 +02:00
parent c0509ecfe6
commit 1d3f72ec6b
4 changed files with 5 additions and 37 deletions

4
.gitmodules vendored
View file

@ -46,3 +46,7 @@
path = pkgbuild/libplatform-git path = pkgbuild/libplatform-git
url = https://aur@aur4.archlinux.org/libplatform-git.git url = https://aur@aur4.archlinux.org/libplatform-git.git
pushurl = ssh+git://aur@aur4.archlinux.org/libplatform-git.git pushurl = ssh+git://aur@aur4.archlinux.org/libplatform-git.git
[submodule "pkgbuild/nbimg"]
path = pkgbuild/nbimg
url = https://aur@aur4.archlinux.org/nbimg.git
pushurl = ssh+git://aur@aur4.archlinux.org/nbimg.git

1
pkgbuild/nbimg Submodule

@ -0,0 +1 @@
Subproject commit c8be6b3f4d204af4bc468d49f1ef6f8c4de1bab4

View file

@ -1,12 +0,0 @@
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)/

View file

@ -1,25 +0,0 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
pkgname=nbimg
pkgver=1.2.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=('GPL3')
source=(https://github.com/poliva/nbimg/archive/v${pkgver}.tar.gz Makefile.patch)
md5sums=('4cff29b5437f909bba470e4f2b0b861b'
'24fe500b72243ab6d52776583e64fdfa')
build() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 < ../Makefile.patch
make nbimg
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et: