diff options
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 9 insertions, 14 deletions
@@ -1,14 +1,13 @@ pkgbase = apt-file pkgdesc = APT package searching utility - pkgver = 2021.4.0 + pkgver = 3.2.2 pkgrel = 1 url = https://packages.debian.org arch = any license = GPL - makedepends = git depends = perl-aptpkg - backup = etc/apt/apt-file.conf - source = git+https://salsa.debian.org/apt-team/apt-file.git - sha256sums = SKIP + backup = etc/apt/apt.conf.d/50apt-file.conf + source = http://deb.debian.org/debian/pool/main/a/apt-file/apt-file_3.2.2.tar.xz + sha256sums = bacbfb038dca6d2f0b740dcd05064d0b81fd0f086ce2eb59c5157d13ef064edf pkgname = apt-file @@ -1,25 +1,21 @@ pkgname=apt-file -pkgver=2021.4.0 +pkgver=3.2.2 pkgrel=1 pkgdesc='APT package searching utility' url='https://packages.debian.org' arch=('any') license=('GPL') depends=('perl-aptpkg') -makedepends=('git') -source=('git+https://salsa.debian.org/apt-team/apt-file.git') -sha256sums=('SKIP') -backup=('etc/apt/apt-file.conf') +source=("http://deb.debian.org/debian/pool/main/a/apt-file/apt-file_${pkgver}.tar.xz") +sha256sums=('bacbfb038dca6d2f0b740dcd05064d0b81fd0f086ce2eb59c5157d13ef064edf') +backup=('etc/apt/apt.conf.d/50apt-file.conf') build() { - pwd cd apt-file make } package() { cd apt-file - install -Dm755 apt-file "${pkgdir}/usr/bin/apt-file" - install -Dm644 apt-file.1 "${pkgdir}/usr/share/man/man1/apt-file.1" - install -Dm644 examples-apt-conf/apt-file.conf "${pkgdir}/etc/apt/apt-file.conf" + make DESTDIR="${pkgdir}" install } |