Skip to content

Commit

Permalink
undbx: add package (#3814) (#3879)
Browse files Browse the repository at this point in the history
* undbx: add package

Extract e-mail messages from Outlook Express DBX files.

* undbx: add package

* Update PKGBUILD

* Update PKGBUILD

* Update packages/undbx/PKGBUILD



* Update packages/undbx/PKGBUILD



* Update packages/undbx/PKGBUILD



---------

Co-authored-by: D3vil0p3r <[email protected]>
  • Loading branch information
noraj and D3vil0p3r committed Jun 28, 2023
1 parent a548874 commit 7204f1e
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions lists/to-release
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
undbx
41 changes: 41 additions & 0 deletions packages/undbx/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=undbx
pkgver=0.21.r3.g5e31c75
pkgrel=1
pkgdesc='Extract e-mail messages from Outlook Express DBX files.'
arch=('any')
groups=('blackarch' 'blackarch-forensic')
url='https://github.com/ZungBang/undbx'
license=('GPL')
depends=()
makedepends=('git')
source=("git+https://github.com/ZungBang/$pkgname.git")
sha512sums=('SKIP')

pkgver() {
cd $pkgname

git describe --long --tags | sed 's/undbx-//' | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
cd "$pkgname"

autoreconf -vfi
./configure --prefix=/usr
}

build() {
cd "$pkgname"

make
}

package() {
cd "$pkgname"

make DESTDIR="$pkgdir" install
}

0 comments on commit 7204f1e

Please sign in to comment.