aboutsummaryrefslogblamecommitdiffstats
path: root/libsha1/PKGBUILD
blob: f5058588e0213d2a2701c8b3bd546d83e0d307b5 (plain) (tree)
1
2
3
4
5
6
7
8


                                                                
            


                                         
                                           




                                                            
                                                                             

         
                       



                  
                       



            
                       

                                            
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>

pkgname=libsha1
pkgver=1.1.1
pkgrel=1
pkgdesc="SHA-1 and SHA-0 hashing library"
arch=(i686 x86_64)
url="https://codeberg.org/maandree/libsha1"
license=('custom:ISC')
depends=()
checkdepends=()
makedepends=()
source=(libsha1-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
sha256sums=(5cb05a51650cda674ba09882ddc277aada1d3f4a6e2d22c2c999a344c4d28687)

build() {
  cd "$srcdir/$pkgname"
  make PREFIX=/usr
}

check() {
  cd "$srcdir/$pkgname"
  make check
}

package() {
  cd "$srcdir/$pkgname"
  make PREFIX=/usr DESTDIR="$pkgdir" install
}