Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages /
usbview
Commits:
cc6e174e by Carl Smedstad at 2024-09-27T23:44:35+02:00
Add nvchecker config
- - - - -
852d5cad by Carl Smedstad at 2024-09-27T23:44:35+02:00
Reformat PKGBUILD, switch to Git source, etc.
- - - - -
2676382d by Carl Smedstad at 2024-09-27T23:46:32+02:00
upgpkg: 3.1-1: Upstream release
- - - - -
3 changed files:
- .SRCINFO
- + .nvchecker.toml
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,17 +1,18 @@
pkgbase = usbview
pkgdesc = Display the topology of devices on the USB bus
- pkgver = 3.0
- pkgrel = 4
+ pkgver = 3.1
+ pkgrel = 1
url = http://www.kroah.com/linux/usb/
install = usbview.install
arch = x86_64
- license = GPL
- makedepends = pkg-config
+ license = GPL-2.0-only
makedepends = imagemagick
+ depends = gdk-pixbuf2
+ depends = glib2
+ depends = glibc
depends = gtk3
- depends = desktop-file-utils
- source = http://www.kroah.com/linux/usb/usbview-3.0.tar.gz
- md5sums = 0e65d4978b1ac54f3bc8608d86af3a44
- sha256sums =
e83f445b11d2ca7d6ac795e6c6c2f6254cde4d7a32feb1f01b16e2afcd22a960
+ depends = hicolor-icon-theme
+ source =
usbview-3.1.tar.gz::https://github.com/gregkh/usbview/archive/v3.1.tar.gz
+ sha256sums =
a227ecd382e8079046f89d0a3e5eb3c02ce3ecd8afea4912432ae422106c7aa0
pkgname = usbview
=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,4 @@
+[usbview]
+source = "git"
+git = "https://github.com/gregkh/usbview"
+prefix = "v"
=====================================
PKGBUILD
=====================================
@@ -1,34 +1,45 @@
-# Maintainer: Giovanni Scafora <[email protected]>
# Maintainer: coderobe <[email protected]>
+# Maintainer: Carl Smedstad <[email protected]>
+# Contributor: Giovanni Scafora <[email protected]>
# Contributor: Jason Chu <[email protected]>
pkgname=usbview
-pkgver=3.0
-pkgrel=4
+pkgver=3.1
+pkgrel=1
pkgdesc="Display the topology of devices on the USB bus"
arch=('x86_64')
url="http://www.kroah.com/linux/usb/"
-license=('GPL')
-depends=('gtk3' 'desktop-file-utils')
-makedepends=('pkg-config' 'imagemagick')
+license=('GPL-2.0-only')
+depends=(
+ 'gdk-pixbuf2'
+ 'glib2'
+ 'glibc'
+ 'gtk3'
+ 'hicolor-icon-theme'
+)
+makedepends=('imagemagick')
install=${pkgname}.install
-source=("http://www.kroah.com/linux/usb/${pkgname}-${pkgver}.tar.gz")
-md5sums=('0e65d4978b1ac54f3bc8608d86af3a44')
-sha256sums=('e83f445b11d2ca7d6ac795e6c6c2f6254cde4d7a32feb1f01b16e2afcd22a960')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/gregkh/usbview/archive/v${pkgver}.tar.gz")
+sha256sums=('a227ecd382e8079046f89d0a3e5eb3c02ce3ecd8afea4912432ae422106c7aa0')
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+prepare() {
+ cd ${pkgname}-${pkgver}
+ ./autogen.sh
+}
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make prefix="${pkgdir}/usr" \
- sysconfdir="${pkgdir}/etc" \
- localstatedir="${pkgdir}/var" install
+ cd ${pkgname}-${pkgver}
+ make install \
+ prefix="${pkgdir}/usr" \
+ sysconfdir="${pkgdir}/etc" \
+ localstatedir="${pkgdir}/var"
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/usbview/-/compare/cf0c1366a01e8b9125e4b0161bbd2fc2c8803999...2676382d47a6807ba36e3876f9b8a708ac4e9dfa
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/usbview/-/compare/cf0c1366a01e8b9125e4b0161bbd2fc2c8803999...2676382d47a6807ba36e3876f9b8a708ac4e9dfa
You're receiving this email because of your account on gitlab.archlinux.org.