diff options
author | Zejun Wu | 2015-10-03 19:19:04 -0700 |
---|---|---|
committer | Zejun Wu | 2015-10-03 19:19:04 -0700 |
commit | df20ff371e6910423ba4fc57bff21a7fd61f0902 (patch) | |
tree | 64c5dff59e45ec091f83e9a0661ff3b033ff4a99 | |
download | aur-df20ff371e6910423ba4fc57bff21a7fd61f0902.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8099231bd138 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = afflib + pkgdesc = is an extensible open format for the storage of disk images and related forensic information. + pkgver = 3.7.4 + pkgrel = 1 + url = https://github.com/simsong/AFFLIBv3/releases + arch = i686 + arch = x86_64 + license = custom + depends = zlib + depends = openssl + depends = fuse + source = https://github.com/simsong/AFFLIBv3/archive/v3.7.4.tar.gz + md5sums = a81470590cfc2f22a3168f89ebe27ea6 + +pkgname = afflib + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..969d2c08b9e7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: kfgz <kfgz at interia dot pl> +# Contributor: Abakus <java5 at arcor dot de> +# Contributor: watashi <zejun dot wu at gmail dot com> + +pkgname=afflib +pkgver=3.7.4 +pkgrel=1 +pkgdesc="is an extensible open format for the storage of disk images and related forensic information." +arch=('i686' 'x86_64') +url="https://github.com/simsong/AFFLIBv3/releases" +#url=http://www.sisyphus.ru/en/srpm/Sisyphus/libaff +license=('custom') +depends=('zlib' 'openssl' 'fuse') +#source=("ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/SRPMS//libaff-${pkgver}-alt1.src.rpm") +source=(https://github.com/simsong/AFFLIBv3/archive/v${pkgver}.tar.gz) +md5sums=('a81470590cfc2f22a3168f89ebe27ea6') + +#prepare() { +# cd "${srcdir}" +# tar xvf libaff-${pkgver}.tar +#} + +build() { + cd "${srcdir}"/AFFLIBv3-${pkgver} + sh bootstrap.sh + ./configure --prefix=/usr --sysconfdir=/etc + make +} + +package() { + cd "${srcdir}"/AFFLIBv3-${pkgver} + make DESTDIR="${pkgdir}" install +} |