summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD38
-rw-r--r--flips.desktop8
-rw-r--r--flips.pngbin529 -> 0 bytes
4 files changed, 21 insertions, 44 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 16c8340a920a..554ea950f339 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,14 @@
-# Generated by mksrcinfo v8
-# Fri Mar 3 10:28:52 UTC 2017
pkgbase = flips
pkgdesc = Floating IPS - Applies and creates IPS and BPS patches
- pkgver = 1.31
- pkgrel = 2
- url = http://www.smwcentral.net/?p=section&a=details&id=11474
- arch = i686
+ pkgver = 123
+ pkgrel = 1
+ url = https://github.com/Alcaro/Flips
arch = x86_64
license = GPL
- makedepends = unzip
+ makedepends = git
depends = gtk3
- source = http://dl.smwcentral.net/11474/floating.zip
- source = flips.desktop
- source = flips.png
- sha256sums = 1e28e9217084b81ba53d51c4b5d29179a6c1f9d2e0f900c08c55df1666298c80
- sha256sums = 73ae77df90611cc73161b1a7b3ad39e701e31fc48a573679a0144bdec041cc65
- sha256sums = 9b7c04cb5b2ca16b12a00eeb9def35069e8cb39ef26815c8995992ab2ece6008
+ source = flips::git+https://github.com/Alcaro/Flips.git#commit=5a3d2012b8ea53ae777c24b8ac4edb9a6bdb9761
+ sha256sums = SKIP
pkgname = flips
diff --git a/PKGBUILD b/PKGBUILD
index 1376cb71a076..1023616de867 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,27 @@
# Maintainer: Vaporeon <vaporeon@vaporeon.io>
pkgname=flips
-pkgver=1.31
-pkgrel=2
+# Each commit to master should be treated as a release as per upstream recommendation.
+pkgver=123
+_commit=5a3d2012b8ea53ae777c24b8ac4edb9a6bdb9761
+pkgrel=1
pkgdesc="Floating IPS - Applies and creates IPS and BPS patches"
depends=('gtk3')
-makedepends=('unzip')
-arch=('i686' 'x86_64')
-url="http://www.smwcentral.net/?p=section&a=details&id=11474"
+makedepends=('git')
+arch=('x86_64')
+url="https://github.com/Alcaro/Flips"
license=('GPL')
-source=('http://dl.smwcentral.net/11474/floating.zip'
- 'flips.desktop'
- 'flips.png')
-sha256sums=('1e28e9217084b81ba53d51c4b5d29179a6c1f9d2e0f900c08c55df1666298c80'
- '73ae77df90611cc73161b1a7b3ad39e701e31fc48a573679a0144bdec041cc65'
- '9b7c04cb5b2ca16b12a00eeb9def35069e8cb39ef26815c8995992ab2ece6008')
-
-prepare() {
- cd $srcdir
- unzip src.zip
-}
+source=("flips::git+https://github.com/Alcaro/Flips.git#commit=$_commit")
+sha256sums=('SKIP')
build() {
- cd $srcdir
- make
+ cd "${srcdir}"/$pkgname
+ make
}
package() {
- cd $srcdir
- install -Dm755 flips "$pkgdir"/usr/bin/flips
- install -Dm644 flips.desktop "$pkgdir"/usr/share/applications/flips.desktop
- install -Dm644 flips.png "$pkgdir"/usr/share/pixmaps/flips.png
- install -Dm644 "$srcdir"/license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
+ cd "${srcdir}"/$pkgname
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/$pkgname/COPYING
+ install -Dm644 COPYING.gpl3 "${pkgdir}"/usr/share/licenses/$pkgname/COPYING.gpl3
}
diff --git a/flips.desktop b/flips.desktop
deleted file mode 100644
index 9040f09ec0a3..000000000000
--- a/flips.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Floating IPS
-Comment=Applies and creates IPS and BPS patches
-Exec=flips
-Icon=flips
-Terminal=false
-Categories=System;
diff --git a/flips.png b/flips.png
deleted file mode 100644
index be4c5deec59e..000000000000
--- a/flips.png
+++ /dev/null
Binary files differ