diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..56d02e104f5f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = perl-capstone + pkgdesc = A Perl binding for the capstone-engine library + pkgver = 0.1 + pkgrel = 1 + url = https://github.com/t00sh/capstone-perl + arch = i686 + arch = x86_64 + groups = base-devel + license = GPLv3 + depends = capstone + source = https://github.com/t00sh/capstone-perl/archive/0.1.tar.gz + sha256sums = 0ce4273e69bd69b3067b401d419a6427024a75c5c6e0ce3bf11e3476679adbd4 + +pkgname = perl-capstone + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..390aae8a63f1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: TOSH <tosh@t0x0sh.org>b + +pkgname=perl-capstone +pkgver=0.1 +pkgrel=1 +pkgdesc="A Perl binding for the capstone-engine library" +arch=('i686' 'x86_64') +url="https://github.com/t00sh/capstone-perl" +license=('GPLv3') +groups=('base-devel') +depends=('capstone') +source=("https://github.com/t00sh/capstone-perl/archive/0.1.tar.gz") +sha256sums=('0ce4273e69bd69b3067b401d419a6427024a75c5c6e0ce3bf11e3476679adbd4') + +build() { + cd "$srcdir/$pkgname-$pkgver" + perl Makefile.PL + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make install +}
\ No newline at end of file |