Added suggestions from Toost_Inc and GreenRaccoon23
Search Criteria
Package Details: id3ed 1.10.4-2
Package Actions
| Package Base: | id3ed |
|---|---|
| Description: | Interactive command line ID3-Tag editor |
| Upstream URL: | http://code.fluffytapeworm.com/projects/id3ed |
| Category: | multimedia |
| Licenses: | |
| Submitter: | None |
| Maintainer: | mastashake57 |
| Last Packager: | mastashake57 |
| Votes: | 15 |
| First Submitted: | 2009-03-27 19:53 |
| Last Updated: | 2015-01-20 19:52 |
Dependencies (0)
Required by (0)
Sources
Latest Comments
Comment by mastashake57
Comment by Toost_Inc
Desperately needs a package() function
example:
https://gist.github.com/ToostInc/3ab0abedd32dfbb139cf
Comment by GreenRaccoon23
PKGBUILD edit suggestion (change 'source' variable):
[code]
# Maintainer: Carlos Rivas <carl (d o t) rivas (a t) gmail (do t) com>
pkgname=id3ed
pkgver=1.10.4
pkgrel=2
pkgdesc="Interactive command line ID3-Tag editor"
arch=('i686' 'x86_64' 'arm')
url="http://code.fluffytapeworm.com/projects/id3ed"
license=('GPL')
source=("http://code.fluffytapeworm.com/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz")
options=('!buildflags')
md5sums=('fc0df31ef4ad90b83ee133929afbcc83')
package() {
install -d $pkgdir/usr/{bin,share/man/man1}
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --mandir=/usr/share/man
make
make DESTDIR="$pkgdir" install
}
[/code]
Comment by Rozan
I Used http://code.fluffytapeworm.com/projects/id3ed/id3ed-1.10.4.tar.gz for the source and it works.
Comment by mastashake57
PKGBUILD updated to include options=('!buildflags'). This is so it can use the arguments stated in the Makefile as opposed to /etc/makepkg.conf.
Comment by mastashake57
Thanks for good advice, luolimao. I've updated the PKGBUILD. Can you give it a quick peek and let me know if I'm in the ballpark?
Comment by luolimao
Instead of 'mkdir -p [directory]', use 'install -d [directory]' to create directories; similarly, for any future packages, use 'install -D -m [mode #] [source] [destination]', with [mode #] depending on the type of file being installed.
See this old AUR-general mailing list posting:
http://mailman.archlinux.org/pipermail/aur-general/2011-December/017237.html
more info on 'install' vs 'cp':
http://en.chys.info/2009/05/install-vs-cp-and-mmap/
Also, since 'ncurses' and 'readline' (dependencies of 'bash', which is in the '[base]' group) and 'gcc-libs' are part of '[base]', they should be left out of the depends array:
https://wiki.archlinux.org/index.php/Arch_Build_System#Build_package
Comment by mastashake57
Uploaded a new version with ARM support.
Comment by Synthead
404 on source