diff options
author | Gustavo Costa | 2022-06-05 01:01:40 -0300 |
---|---|---|
committer | Gustavo Costa | 2022-06-05 01:01:40 -0300 |
commit | 1f556ba548fbbcdb50bb88da7f75e0bec53aaff5 (patch) | |
tree | a509a5508305b1053016a5952ce495e27c86a7db | |
download | aur-1f556ba548fbbcdb50bb88da7f75e0bec53aaff5.tar.gz |
Initial release
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..788db14cf91f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,11 @@ +pkgbase = elfy + pkgdesc = Display information about ELF files + pkgver = 0.1.0 + pkgrel = 1 + url = https://github.com/xfgusta/elfy + arch = x86_64 + license = MIT + source = https://github.com/xfgusta/elfy/archive/v0.1.0/elfy-0.1.0.tar.gz + sha1sums = SKIP + +pkgname = elfy diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a2268a05de5a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Gustavo Costa <xfgusta@gmail.com> + +pkgname=elfy +pkgver=0.1.0 +pkgrel=1 +pkgdesc='Display information about ELF files' +arch=(x86_64) +url="https://github.com/xfgusta/$pkgname" +license=(MIT) +source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha1sums=('SKIP') + +build() { + cd "$pkgname-$pkgver" + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" PREFIX='/usr' install + install -D -m 0644 'LICENSE' -t "$pkgdir/usr/share/licenses/$pkgname" +} + |