]> saetta.ns0.it Git - msys2/commitdiff
titoli_abilitativi: rebuild.
authorAndrea Zagli <andrea.zagli@email.it>
Wed, 9 Nov 2016 11:05:42 +0000 (12:05 +0100)
committerAndrea Zagli <andrea.zagli@email.it>
Wed, 9 Nov 2016 11:05:42 +0000 (12:05 +0100)
packages/mingw-w64-titoli-abilitativi/001-path.patch [deleted file]
packages/mingw-w64-titoli-abilitativi/PKGBUILD

diff --git a/packages/mingw-w64-titoli-abilitativi/001-path.patch b/packages/mingw-w64-titoli-abilitativi/001-path.patch
deleted file mode 100644 (file)
index d684c6c..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-diff --git a/src/resources.rc.in b/src/resources.rc.in
-index a1c3d70..8a60702 100644
---- a/src/resources.rc.in
-+++ b/src/resources.rc.in
-@@ -1,4 +1,4 @@
--AppIcon ICON "..\\data\\titoli_abilitativi\\images\\titoli_abilitativi.ico"
-+AppIcon ICON "@top_srcdir@\\data\\titoli_abilitativi\\images\\titoli_abilitativi.ico"
- 1 VERSIONINFO
- FILEVERSION     @V_MAJOR@,@V_MINOR@,@V_MICRO@,0
index 5b456c36df367e975dbd54d702bcc34a6ff045cb..ba091c3262be09cc52c4b2f5f9d34af17b17cc3f 100644 (file)
@@ -3,7 +3,7 @@
 _realname=titoli_abilitativi
 _base_ver=0.5.1
 pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
-pkgver=0.5.1.459.99492be
+pkgver=0.5.1.464.a802025
 pkgrel=1
 arch=('any')
 pkgdesc="Gestione titoli abilitativi (mingw-w64)"
@@ -25,10 +25,8 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
 options=('!strip' 'debug' 'staticlibs')
 license=("LGPL 2.1")
 url="http://saetta.ns0.it/"
-source=(git+http://saetta.ns0.it/~andreaz/git/${_realname}#branch=gtk3
-        001-path.patch)
-sha256sums=('SKIP'
-            '607c2bb9f7563a74baac77d46a00d2fb1f0f829752db3a73e9c3f7202c371be1')
+source=(git+http://saetta.ns0.it/~andreaz/git/${_realname}#branch=gtk3)
+sha256sums=('SKIP')
 
 pkgver() {
   cd "${srcdir}/${_realname}"
@@ -37,8 +35,6 @@ pkgver() {
 
 prepare() {
   cd ${_realname}
-
-  patch -p1 -i ${srcdir}/001-path.patch
 }
 
 build() {
@@ -57,4 +53,6 @@ build() {
 package() {
   cd "$srcdir/build-${MINGW_CHOST}"
   make DESTDIR=$pkgdir install
+
+  install -Dm644 "${srcdir}/${_realname}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING"
 }