Created
January 8, 2018 18:27
-
-
Save zman0900/08d377461f8e9d698036a1954ace53e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From f004c034358ee588b6bd2ecf2cd876ff054db569 Mon Sep 17 00:00:00 2001 | |
From: Dan Ziemba <[email protected]> | |
Date: Mon, 8 Jan 2018 13:23:28 -0500 | |
Subject: [PATCH] Package cleanup | |
- Fixed LICENSE.txt -> LICENSE | |
- Better version numbering | |
- Removed .install file, no longer necessary | |
- Removed unneeded dependencies | |
- Added more package conflicts | |
--- | |
.SRCINFO | 10 ++++------ | |
.gitignore | 8 +++++--- | |
PKGBUILD | 14 +++++++------- | |
transgui-gtk2-git.install | 11 ----------- | |
4 files changed, 16 insertions(+), 27 deletions(-) | |
delete mode 100644 transgui-gtk2-git.install | |
diff --git a/.SRCINFO b/.SRCINFO | |
index ba48501..b088050 100644 | |
--- a/.SRCINFO | |
+++ b/.SRCINFO | |
@@ -1,25 +1,23 @@ | |
-# Generated by mksrcinfo v8 | |
-# Fri Dec 8 04:09:27 UTC 2017 | |
pkgbase = transgui-gtk2-git | |
pkgdesc = Cross platform remote GUI for the Transmission daemon | |
- pkgver = 046e04f | |
+ pkgver = 5.13.0.r24.gab1437a | |
pkgrel = 1 | |
+ epoch = 1 | |
url = https://github.com/leonsoft-kras/transmisson-remote-gui | |
- install = transgui-gtk2-git.install | |
arch = i686 | |
arch = x86_64 | |
license = GPL2 | |
makedepends = git | |
makedepends = lazarus | |
- makedepends = unzip | |
depends = gtk2 | |
- depends = desktop-file-utils | |
provides = transmission-remote-gui | |
provides = transmission-remote-gui-gtk2 | |
conflicts = transmission-remote-gui-qt4 | |
conflicts = transmission-remote-gui-svn | |
conflicts = transmission-remote-gui | |
conflicts = transmission-remote-gui-gtk2 | |
+ conflicts = transgui-gtk | |
+ conflicts = transgui-qt | |
source = git://github.com/transmission-remote-gui/transgui.git | |
source = transgui.desktop | |
md5sums = SKIP | |
diff --git a/.gitignore b/.gitignore | |
index c763b62..63e0209 100644 | |
--- a/.gitignore | |
+++ b/.gitignore | |
@@ -1,4 +1,6 @@ | |
-pkg/* | |
-src/* | |
+pkg | |
+src | |
*.pkg.tar.xz | |
-transmisson-remote-gui/* | |
+*.log | |
+transmisson-remote-gui | |
+transgui | |
diff --git a/PKGBUILD b/PKGBUILD | |
index 289719e..e49dd0e 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -4,17 +4,17 @@ | |
pkgname=transgui-gtk2-git | |
_pkgname=transgui | |
-pkgver=046e04f | |
+pkgver=5.13.0.r24.gab1437a | |
pkgrel=1 | |
+epoch=1 | |
pkgdesc='Cross platform remote GUI for the Transmission daemon' | |
arch=(i686 x86_64) | |
url='https://github.com/leonsoft-kras/transmisson-remote-gui' | |
license=(GPL2) | |
-depends=(gtk2 desktop-file-utils) | |
-makedepends=(git lazarus unzip) | |
+depends=(gtk2) | |
+makedepends=(git lazarus) | |
provides=(transmission-remote-gui transmission-remote-gui-gtk2) | |
-conflicts=(transmission-remote-gui-qt4 transmission-remote-gui-svn transmission-remote-gui transmission-remote-gui-gtk2) | |
-install=transgui-gtk2-git.install | |
+conflicts=(transmission-remote-gui-qt4 transmission-remote-gui-svn transmission-remote-gui transmission-remote-gui-gtk2 transgui-gtk transgui-qt) | |
source=('git://github.com/transmission-remote-gui/transgui.git' | |
${_pkgname}.desktop) | |
md5sums=('SKIP' | |
@@ -23,7 +23,7 @@ _ws=gtk2 | |
pkgver() { | |
cd "${srcdir}/${_pkgname}" | |
- git describe --always | sed 's|-|.|g' | |
+ git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/^v//g' | |
} | |
build() { | |
@@ -44,7 +44,7 @@ package() { | |
rm "${pkgdir}/usr/share/${_pkgname}/lang/transgui.template" | |
install -d -m 755 "${pkgdir}/usr/share/doc/${pkgname}" | |
- install -D -m 644 readme.txt history.txt LICENSE.txt "${pkgdir}/usr/share/doc/${pkgname}" | |
+ install -D -m 644 readme.txt history.txt LICENSE "${pkgdir}/usr/share/doc/${pkgname}" | |
install -D -m 644 "${_pkgname}.png" "${pkgdir}/usr/share/pixmaps/${_pkgname}.png" | |
install -D -m 644 "${srcdir}/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop" | |
diff --git a/transgui-gtk2-git.install b/transgui-gtk2-git.install | |
deleted file mode 100644 | |
index b8c7ebf..0000000 | |
--- a/transgui-gtk2-git.install | |
+++ /dev/null | |
@@ -1,11 +0,0 @@ | |
-post_install() { | |
- update-desktop-database -q | |
-} | |
- | |
-post_upgrade() { | |
- post_install | |
-} | |
- | |
-post_remove() { | |
- post_install | |
-} | |
-- | |
2.15.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment