T.J. Townsend pushed to branch main at Arch Linux / Packaging / Packages / mutt


Commits:
8c0b3d60 by T.J. Townsend at 2024-04-02T15:40:46-04:00
upgpkg: 2.2.13-2: build from git tag

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = mutt
        pkgdesc = Small but very powerful text-based mail client
        pkgver = 2.2.13
-       pkgrel = 1
+       pkgrel = 2
        url = http://www.mutt.org/
        install = mutt.install
        arch = x86_64
@@ -10,6 +10,7 @@ pkgbase = mutt
        makedepends = docbook-xsl
        makedepends = elinks
        makedepends = gdbm
+       makedepends = git
        makedepends = gpgme
        makedepends = krb5
        makedepends = libidn2
@@ -27,13 +28,10 @@ pkgbase = mutt
        optdepends = python: for experimental mutt_oath2.py
        optdepends = smtp-forwarder: to send mail
        backup = etc/mutt/Muttrc
-       source = https://bitbucket.org/mutt/mutt/downloads/mutt-2.2.13.tar.gz
-       source = 
https://bitbucket.org/mutt/mutt/downloads/mutt-2.2.13.tar.gz.asc
+       source = 
git+https://gitlab.com/muttmua/mutt.git#tag=mutt-2-2-13-rel?signed
        validpgpkeys = 8975A9B33AA37910385C5308ADEF768480316BDA
-       sha512sums = 
dcd84235b6f759c31b56cf021efc17c0bb1fd4d59226d12af9838f3cbbcf0301262ae5f67803565cce3afd6ff5eed3a380a81958f57fb7d8f38e2ecfd0ff7d2c
-       sha512sums = SKIP
-       b2sums = 
993b5dc43f09a313acb7e02b1d182e2856f4f9a9d61c7137a9e4ea3c399302adf69993d6f7d3af3dc1f89e17473071689eb3692949daadaacb0338302090abea
-       b2sums = SKIP
+       sha512sums = 
7de4c22c08cc806b283f310460dc42a3c151ef8d77f1558e6b5b215b82c6c8eeacd99c0a40f3c81414a0584db1d3b24e82db84c034646dc81609f763bb872d7c
+       b2sums = 
1d350e8fb117e522e72af91ed96f8c9358a9d98c1e4b05bb8e69bbb036a3806e0102146d8e832cb52133e2492f0e41e70b923c24b525b812a737c294e2343b42
 
 pkgname = mutt
        depends = glibc


=====================================
PKGBUILD
=====================================
@@ -5,7 +5,7 @@
 
 pkgname=mutt
 pkgver=2.2.13
-pkgrel=1
+pkgrel=2
 pkgdesc="Small but very powerful text-based mail client"
 arch=(x86_64)
 url="http://www.mutt.org/";
@@ -22,6 +22,7 @@ makedepends=(
   docbook-xsl
   elinks
   gdbm
+  git
   gpgme
   krb5
   libidn2
@@ -38,15 +39,13 @@ optdepends=(
 )
 backup=(etc/$pkgname/Muttrc)
 install=$pkgname.install
-source=(https://bitbucket.org/$pkgname/$pkgname/downloads/$pkgname-$pkgver.tar.gz{,.asc})
-sha512sums=('dcd84235b6f759c31b56cf021efc17c0bb1fd4d59226d12af9838f3cbbcf0301262ae5f67803565cce3afd6ff5eed3a380a81958f57fb7d8f38e2ecfd0ff7d2c'
-            'SKIP')
-b2sums=('993b5dc43f09a313acb7e02b1d182e2856f4f9a9d61c7137a9e4ea3c399302adf69993d6f7d3af3dc1f89e17473071689eb3692949daadaacb0338302090abea'
-        'SKIP')
+source=("git+https://gitlab.com/muttmua/mutt.git#tag=mutt-${pkgver//./-}-rel?signed";)
+sha512sums=('7de4c22c08cc806b283f310460dc42a3c151ef8d77f1558e6b5b215b82c6c8eeacd99c0a40f3c81414a0584db1d3b24e82db84c034646dc81609f763bb872d7c')
+b2sums=('1d350e8fb117e522e72af91ed96f8c9358a9d98c1e4b05bb8e69bbb036a3806e0102146d8e832cb52133e2492f0e41e70b923c24b525b812a737c294e2343b42')
 validpgpkeys=('8975A9B33AA37910385C5308ADEF768480316BDA') # Kevin J. McCarthy 
<ke...@8t8.us>
 
 prepare() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   autoreconf -fiv
 }
 
@@ -71,7 +70,7 @@ build() {
     --with-ssl=/usr
   )
 
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure "${configure_options[@]}"
   make
 }
@@ -87,7 +86,7 @@ package() {
     openssl libssl.so
   )
 
-  make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install -C $pkgname
   # we backup /etc/mutt/Muttrc and don't need another copy
   rm -v "$pkgdir/etc/$pkgname/Muttrc.dist"
   # a more comprehensive list of mime types is provided by mailcap in 
/etc/mime.types



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mutt/-/commit/8c0b3d6099faa20e5a26b5efed21c32086e651b2

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mutt/-/commit/8c0b3d6099faa20e5a26b5efed21c32086e651b2
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to