diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-04-03 19:45:02 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-04-03 19:45:02 +0200 |
commit | 995367325ca5ee4c19cc1cf2502f4604fe352830 (patch) | |
tree | 6e9fb1e4954845d7e452573f6f594d9e3b907c4b /dist | |
parent | add install and uninstall rules (diff) | |
download | exec-as-995367325ca5ee4c19cc1cf2502f4604fe352830.tar.gz exec-as-995367325ca5ee4c19cc1cf2502f4604fe352830.tar.bz2 exec-as-995367325ca5ee4c19cc1cf2502f4604fe352830.tar.xz |
dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | dist/archlinux/stable/.gitignore | 6 | ||||
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 27 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore new file mode 100644 index 0000000..31fe9d6 --- /dev/null +++ b/dist/archlinux/stable/.gitignore @@ -0,0 +1,6 @@ +* +!/.git* +*~ +!/PKGBUILD +!/exec-as.install + diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD new file mode 100644 index 0000000..649b50e --- /dev/null +++ b/dist/archlinux/stable/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> + +pkgname=exec-as +pkgver=1 +pkgrel=1 +pkgdesc="A command that lets you start another command with any argv[0]" +arch=(i686 x86_64) +url="https://github.com/maandree/exec-as" +license=('GPL3') +depends=(glibc) +makedepends=(make coreutils gcc glibc) +#install=exec-as.install +source=($url/archive/$pkgver.tar.gz) +sha256sums=(7327f390331a02ea4b6b09d3ae2f379a70249a8741eb20a1c6a94ea6c512ed2d) + + +build() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr +} + + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr install DESTDIR="$pkgdir" +} + |