diff options
author | Antonio Rojas | 2023-04-01 11:50:41 +0200 |
---|---|---|
committer | Antonio Rojas | 2023-04-01 11:50:41 +0200 |
commit | f5642ddc96b98f9bb0600d5c20914dc4754e000f (patch) | |
tree | 01fae535a2f3d4d37340e39e0090f820b89350ac | |
download | aur-memconf.tar.gz |
import from community
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4271f26a6c9e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = memconf + pkgdesc = Identify sizes of installed memory modules. + pkgver = 3.16 + pkgrel = 1 + url = https://www.4schmidts.com/memconf.html + arch = any + license = GPL + depends = dmidecode + depends = perl + source = memconf-3.16.gz::https://www.4schmidts.com/unix/memconf.gz + source = memconf-3.16.man::https://www.4schmidts.com/unix/memconf.man + sha256sums = c58758cc84eca54cba90ec6171e3185f31edd28827d18c624bd65bfcb4ed8498 + sha256sums = 7e79e41ac719e6ebd7669967965d47a07692a5924c2a249b0d32fc5f6ee0a2fe + +pkgname = memconf diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ad6253b490d4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer : Kyle Keen <keenerd@gmail.com> +# Contributor : Martin Wimpress <code@flexion.org> + +pkgname=memconf +pkgver=3.16 +pkgrel=1 +pkgdesc="Identify sizes of installed memory modules." +arch=('any') +url="https://www.4schmidts.com/memconf.html" +license=('GPL') +depends=('dmidecode' 'perl') +source=("$pkgname-$pkgver.gz::https://www.4schmidts.com/unix/$pkgname.gz" + "$pkgname-$pkgver.man::https://www.4schmidts.com/unix/$pkgname.man") +sha256sums=('c58758cc84eca54cba90ec6171e3185f31edd28827d18c624bd65bfcb4ed8498' + '7e79e41ac719e6ebd7669967965d47a07692a5924c2a249b0d32fc5f6ee0a2fe') + +build() { + cd "$srcdir" + zcat "$pkgname-$pkgver.gz" > "$pkgname" +} + +package() { + cd "$srcdir" + install -Dm0755 "$pkgname" "$pkgdir/usr/bin/$pkgname" + install -Dm0755 "$pkgname-$pkgver.man" "$pkgdir/usr/share/man/man1/$pkgname.1" +} |